Exemple #1
0
 public void PurchaseInfo(InvenCentralPurchaeInfoDTO DTO)
 {
     using (var container = new InventoryContainer())
     {
         InvenCentralPurchaseInfo gur = new InvenCentralPurchaseInfo();
         container.InvenCentralPurchaseInfoes.AddObject((InvenCentralPurchaseInfo)DTOMapper.DTOObjectConverter(DTO, gur));
         container.SaveChanges();
     }
 }
 public void PurchaseInfo(InvenCentralPurchaeInfoDTO DTO)
 {
     DAL.PurchaseInfo(DTO);
 }