ITispSpotContentRepository.cs 590 B

12345678910111213141516171819
  1. using Ropin.Inspection.Model.Entities;
  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.Repository.Interface
  9. {
  10. public interface ITispSpotContentRepository : IRepositoryBase<TISP_SpotContent>, IRepositoryBaseById<TISP_SpotContent, Guid>
  11. {
  12. Task DeleteByConditionAsync(Expression<Func<TISP_SpotContent, bool>> expression);
  13. IEnumerable<TISP_Content> GetBySpotCodeAsync(Guid id);
  14. Task<int> DeleteBySpotIdAsync(Guid spotId);
  15. }
  16. }