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.
22 lines
444 B
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);
|
|
|
|
|
|
}
|
|
}
|