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.
Verax_API_EF/Verax_API_EF/Verax_API_EF/API_Services/IArticleService.cs

22 lines
444 B

using Model;
namespace API_Services
{
public interface IArticleService
{
Task<IEnumerable<Article?>> GetAllArticles(int index, int count, ArticleOrderCriteria orderCriterium);
Task<Article?> GetArticleById(int id);
Task<Article?> CreateArticle(Article article);
Task<Article?> DeleteArticle(long id);
Task<Article?> UpdateArticle(long id, Article? a);
}
}