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); Task UpdateProfilePicture(Guid userId, string pictureUrl); //Validations Task ValidateFriendsCollectionAsync(List usernames); Task DoesEmailExistAsync(string email); Task DoesUserExistAsync(Guid id); Task DoesUsernameExistAsync(string username); bool DoesUserHaveThisUsername(Guid id, string username); } }