using Ropin.Inspection.Model.SearchModel; using Ropin.Inspection.Model.ViewModel; 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.Interface { public interface ITispSpotUserService : IBaseService, IBaseServiceById { Task> GetAllAsync(); Task> GetByConditionAsync(Expression> expression); Task UpdateAsync(Guid id, TispSpotUserUpdateViewModel updateModel); Task> GetBySpotIdAsync(Guid spotId); Task> GetByUserIdAsync(Guid userId); Task> GetAsyncByPage(int pageSize, int pageIndex); Task> GetSpotUsersAsyncByPage(TispSpotUserSearchModel searchViewModel); Task CreateSpotsUsersAsync(TispSpotUserCreateViewModel viewModel); Task CreateSpotsUserAsync(TispSpotUserCreateViewModel viewModel); Task> GetSpotUsersAsyncByPage(int pageSize, int pageIndex); } }