using System.Collections.Generic; using System.Threading.Tasks; using Datory; namespace GxPress.Repository.Interface.UserMiddle { public interface IUserMiddleRepository : IRepository { Task InsertAsync(Entity.UserMiddle.UserMiddle userMiddle); Task UpdateAsync(Entity.UserMiddle.UserMiddle userMiddle); Task UpdateAsync(SqlKata.Query query); Task GetAsync(SqlKata.Query query); Task GetAsync(int id); Task> GetAllAsync(SqlKata.Query query); Task CountAsync(SqlKata.Query query); Task ExistsAsync(SqlKata.Query query); Task DeleteAsync(SqlKata.Query query); } }