17 lines
556 B
C#
17 lines
556 B
C#
|
using System.Collections.Generic;
|
||
|
using CandyHouseBase.DataModels;
|
||
|
|
||
|
namespace CandyHouseBase.Interfaces.StoragesContracts
|
||
|
{
|
||
|
public interface IPekarStorageContact
|
||
|
{
|
||
|
List<PekarDataModel> GetList();
|
||
|
List<PekarDataModel> GetPekarWithHistory(string id);
|
||
|
PekarDataModel GetElementById(string id);
|
||
|
PekarDataModel GetElementByFio(string fio);
|
||
|
void AddElement(PekarDataModel item);
|
||
|
void UpdateElement(PekarDataModel item);
|
||
|
void DeleteElement(string id);
|
||
|
void RestoreElement(string id);
|
||
|
}
|
||
|
}
|