using Ropin.Inspection.Model.Entities; using Ropin.Inspection.Model.SearchModel; using Ropin.Inspection.Model.ViewModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ropin.Inspection.Repository.Interface { public interface ITispSpotUserRepository : IRepositoryBase, IRepositoryBaseById { Task> GetBySpotIdAsync(Guid spotId); Task> GetByUserIdAsync(Guid userId); Task> GetAsyncByPage(int pageSize, int pageIndex); Task> GetGroupBySpotAsyncByPage(int pageSize, int pageIndex); Task> GetGroupBySpotAsyncByPage(TispSpotUserSearchModel searchViewModel); Task DeleteBySpotIdAsync(Guid spotId); Task DeleteByUserIdAsync(Guid userId); Task GetBySpotIdAndUserIdAsync(Guid spotId, Guid userId); } }