123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- using AutoMapper;
- using LinqKit;
- using Ropin.Inspection.Common.Accessor.Interface;
- using Ropin.Inspection.Model;
- using Ropin.Inspection.Model.Entities;
- using Ropin.Inspection.Repository;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Linq.Expressions;
- using System.Text;
- using System.Threading.Tasks;
- namespace Ropin.Inspection.Service
- {
- public class TbdmProvService : ITbdmProvService
- {
- private readonly ITbdmProvRepository _repository;
- private readonly IMapper _mapper;
- private readonly IClaimsAccessor _claims;
- public TbdmProvService(IClaimsAccessor claims, ITbdmProvRepository repository, IMapper mapper)
- {
- _repository = repository;
- _mapper = mapper;
- _claims = claims;
- }
- public async Task<List<TbdmProvViewModel>> GetProvListTreeAsync()
- {
- return await _repository.GetProvListTreeAsync();
- }
- public Task<int> UpdateOneAsync(TbdmProvViewModel viewModel, params string[] fields)
- {
- throw new NotImplementedException();
- }
- public Task<bool> IsExistAsync(Guid id)
- {
- throw new NotImplementedException();
- }
- public Task<IEnumerable<TbdmProvViewModel>> GetByConditionAsync(Expression<Func<TbdmProvViewModel, bool>> expression)
- {
- throw new NotImplementedException();
- }
- public Task<IEnumerable<TbdmProvViewModel>> GetAllAsync()
- {
- throw new NotImplementedException();
- }
- public Task CreateOneAsync(TbdmProvViewModel viewModel)
- {
- throw new NotImplementedException();
- }
- public Task<TbdmProvViewModel> GetByIdAsync(Guid id)
- {
- throw new NotImplementedException();
- }
- public Task DeleteAsync(Guid id)
- {
- throw new NotImplementedException();
- }
- }
- }
|