mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-24 00:52:23 -04:00
18 lines
562 B
C#
18 lines
562 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using API.DTOs;
|
|
using API.Entities;
|
|
|
|
namespace API.Interfaces
|
|
{
|
|
public interface IUserRepository
|
|
{
|
|
void Update(AppUser user);
|
|
public void Delete(AppUser user);
|
|
Task<AppUser> GetUserByUsernameAsync(string username);
|
|
Task<IEnumerable<MemberDto>> GetMembersAsync();
|
|
Task<IEnumerable<AppUser>> GetAdminUsersAsync();
|
|
Task<AppUserRating> GetUserRating(int seriesId, int userId);
|
|
void AddRatingTracking(AppUserRating userRating);
|
|
}
|
|
} |