using IcecreamVan.DataModels; namespace IcecreamVan.StoragesContracts; public interface IProductContract { List GetList(bool onlyActive = true, string? manufacturerID = null); List GetProductHistoryById(string productId); ProductDataModel? GetElementById(string id); ProductDataModel? GetElementByName(string name); void AddElement(ProductDataModel prodDataModel); void UpdElement(ProductDataModel prodDataModel); void DelElement(string id); }