ITmtnDevOpsContentService.cs 968 B

123456789101112131415161718192021222324
  1. using Ropin.Inspection.Model;
  2. using Ropin.Inspection.Model.ViewModel.DEV;
  3. using Ropin.Inspection.Service.Interface;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Linq.Expressions;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace Ropin.Inspection.Service
  11. {
  12. public interface ITmtnDevOpsContentService : IBaseService<TmtnDevOpsContentViewModel>, IBaseServiceById<TmtnDevOpsContentViewModel, Guid>
  13. {
  14. Task<IEnumerable<TmtnDevOpsContentViewModel>> GetAllAsync();
  15. Task<IEnumerable<TmtnDevOpsContentViewModel>> GetByConditionAsync(Expression<Func<TmtnDevOpsContentViewModel, bool>> expression);
  16. Task UpdateAsync(string code, TmtnDevOpsContentUpdateModel updateModel);
  17. Task<IEnumerable<TmtnDevOpsContentViewModel>> GetConditionAsync(TmtnDevOpsContentSearchModel searchModel);
  18. Task DeleteAsync(string code);
  19. Task ImportExecl(DevOpsContentImportModel importModel);
  20. }
  21. }