21 lines
494 B
C#
21 lines
494 B
C#
|
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);
|
|||
|
}
|