Пример #1
0
 public static ClsReturnValues delCargoType(int cargoTypeID)
 {
     ClsReturnValues lst = new ClsReturnValues();
     using (var db = new tdoEntities())
     {
         lst = db.uspDelCargoType(cargoTypeID).FirstOrDefault();
     }
     return lst;
 }
Пример #2
0
        public static ClsReturnValues delCargoType(int cargoTypeID)
        {
            ClsReturnValues lst = new ClsReturnValues();

            using (var db = new tdoEntities())
            {
                lst = db.uspDelCargoType(cargoTypeID).FirstOrDefault();
            }
            return(lst);
        }