18 lines
414 B
C#
18 lines
414 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ClassLibrary1;
|
|
|
|
public interface IArticleStorageContract
|
|
{
|
|
List<Article> GetList();
|
|
Article? GetElementById(string id);
|
|
Article? GetElementByTitle(string title);
|
|
void AddElement(Article article);
|
|
void UpdElement(Article article);
|
|
void DelElement(string id);
|
|
}
|