using IcecreamVan.DataModels; namespace IcecreamVan.StoragesContracts; public interface IPostContract { List GetList(bool onlyActual = true); List GetPostHistory(string postId); PostDataModel? GetElementById(string id); PostDataModel? GetElementByName(string name); void AddElement(PostDataModel postDataModel); void UpdElement(PostDataModel postDataModel); void DelElement(string id); void ResElement(string id); }