示例#1
0
 public int AddValidVendor(Vendors vendor)
 {
     try
     {
         int result = services.AddVendor(vendor);
         return(result);
     }
     catch (SqlException)
     {
         throw;
     }
     catch (Exception)
     {
         throw;
     }
 }