Пример #1
0
 public void AddNewShipper(Shipper shipper)
 {
     try
     {
         ctx.Shippers.Add(shipper);
         ctx.SaveChanges();
         IsSuccessful = true;
     }
     catch
     {
         IsSuccessful = false;
     }
 }