23 lines
397 B
C#
23 lines
397 B
C#
|
using NewsBlogAbstractions.Models;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace NewsBlogAbstractions.WorkAbstractions
|
|||
|
{
|
|||
|
public interface IArticleWork
|
|||
|
{
|
|||
|
List<Article> GetAll();
|
|||
|
|
|||
|
Article? Get(int id);
|
|||
|
|
|||
|
Article? Create(Article article);
|
|||
|
|
|||
|
Article? Update(Article article);
|
|||
|
|
|||
|
Article? Delete(int id);
|
|||
|
}
|
|||
|
}
|