using System; using System.Collections.Generic; using System.Threading.Tasks; using DevHive.Data.Models; using DevHive.Data.Repositories.Interfaces; namespace DevHive.Data.Interfaces.Repositories { public interface IUserRepository : IRepository { //Read Task GetByUsernameAsync(string username); IEnumerable QueryAll(); //Validations Task DoesEmailExistAsync(string email); Task DoesUserExistAsync(Guid id); Task DoesUserHaveThisFriendAsync(Guid userId, Guid friendId); bool DoesUserHaveThisUsername(Guid id, string username); Task DoesUsernameExistAsync(string username); } }