21 lines
494 B
C#
Raw Permalink Normal View History

2025-02-27 17:13:36 +04:00
using IcecreamVan.DataModels;
namespace IcecreamVan.StoragesContracts;
public interface IManufacturerContract
{
List<ManufacturerDataModel> GetList();
ManufacturerDataModel? GetElementById(string id);
ManufacturerDataModel? GetElementByName(string name);
ManufacturerDataModel? GetElementByOldName(string oldName);
void AddElement(ManufacturerDataModel manufDataModel);
void UpdElement(ManufacturerDataModel manufDataModel);
void DelElement(string id);
}