16 lines
534 B
C#
16 lines
534 B
C#
|
using System.Collections.Generic;
|
||
|
using CandyHouseBase.DataModels;
|
||
|
|
||
|
namespace CandyHouseBase.Interfaces.StoragesContracts
|
||
|
{
|
||
|
public interface IProductStorageContact
|
||
|
{
|
||
|
List<ProductDataModel> GetList();
|
||
|
ProductDataModel GetElementById(string id);
|
||
|
ProductDataModel GetElementByName(string name);
|
||
|
ProductDataModel GetElementByOldName(string name);
|
||
|
void AddElement(ProductDataModel element);
|
||
|
void UpdateElement(ProductDataModel element);
|
||
|
void DeleteElement(string id);
|
||
|
}
|
||
|
}
|