You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.9 KiB
73 lines
1.9 KiB
using Model;
|
|
using Model.Repository;
|
|
using Shared;
|
|
|
|
namespace Model2Entities;
|
|
|
|
public partial class DbDataManager
|
|
{
|
|
public class UserRepository : IUserRepository
|
|
{
|
|
private readonly DbDataManager _dataManager;
|
|
|
|
public UserRepository(DbDataManager dataManager)
|
|
{
|
|
_dataManager = dataManager;
|
|
}
|
|
|
|
public async Task<IEnumerable<User>> GetItems(int index, int count, string? orderingProperty = null, bool descending = false)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public async Task<User?> GetItemById(int id)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public async Task<User?> UpdateItem(int oldItem, User newItem)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public async Task<User?> AddItem(User item)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public async Task<bool> DeleteItem(int item)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public async Task<int> GetNbItems()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public async Task<IEnumerable<User>> GetUsers(int index, int count, AthleteOrderCriteria? criteria, bool descending = false)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public async Task<bool> AddFriend(User user, User friend)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public async Task<bool> RemoveFriend(User user, User friend)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<IEnumerable<User>?>? GetFriends(User user, int index, int count, AthleteOrderCriteria? criteria, bool descending = false)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<int> GetNbFriends(User user)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
} |