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.
WF-PmAPI/WF_EF_Api/Contextlib/DbFavoriteManager.cs

52 lines
1.3 KiB

using Entity;
using Shared;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contextlib
{
public class DbFavoriteManager : IFavoriteService<Quote>
{
private WTFContext _context;
public DbFavoriteManager(WTFContext context)
{
_context = context ?? throw new ArgumentNullException(nameof(context), "Database context cannot be null.");
}
public async Task AddFavorite(int quoteid, int userId)
{
throw new NotImplementedException();
}
public async Task RemoveAllFavoriteForQuote(int quoteId)
{
throw new NotImplementedException();
}
public async Task RemoveAllFavoriteForUser(int userId)
{
throw new NotImplementedException();
}
public async Task RemoveFavorite(int quoteid, int userId)
{
throw new NotImplementedException();
}
public Task<Quote> GetFavorite(int userId, int idQuote)
{
throw new NotImplementedException();
}
public Task<PaginationResult<Quote>> GetFavoriteByIdUser(int userId, int index, int count)
{
throw new NotImplementedException();
}
}
}