ITispSpotContentService.cs 737 B

123456789101112131415161718
  1. using Ropin.Inspection.Model.ViewModel;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Linq.Expressions;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace Ropin.Inspection.Service.Interface
  9. {
  10. public interface ITispSpotContentService : IBaseService<TispSpotContentViewModel>, IBaseServiceById<TispSpotContentViewModel, Guid>
  11. {
  12. Task<IEnumerable<TispSpotContentViewModel>> GetAllAsync();
  13. Task<IEnumerable<TispSpotContentViewModel>> GetByConditionAsync(Expression<Func<TispSpotContentViewModel, bool>> expression);
  14. Task UpdateAsync(Guid id, TispSpotContentUpdateViewModel updateModel);
  15. IEnumerable<TispContentViewModel> GetBySpotIdAsync(Guid id);
  16. }
  17. }