예제 #1
0
 public void AddProduct(ProductDto product)
 {
     unit.Products.Create(Mapper.Mapping(product));
     unit.Save();
 }
예제 #2
0
 public void AddClient(ClientDto client)
 {
     unit.Clients.Create(Mapper.Mapping(client));
     unit.Save();
 }
예제 #3
0
 public void AddOperation(OperationDto operation)
 {
     unit.Operations.Create(Mapper.Mapping(operation));
     unit.Save();
 }
예제 #4
0
 public void AddPriceHistory(PriceHistoryDto priceHistory)
 {
     unit.PriceHistories.Create(Mapper.Mapping(priceHistory));
     unit.Save();
 }
예제 #5
0
 public void AddManager(ManagerDto manager)
 {
     unit.Managers.Create(Mapper.Mapping(manager));
     unit.Save();
 }