Example #1
0
 public static int DeleteKho(string _MaKho)
 {
     try
     {
         Models.KhoMod _Kho = new Models.KhoMod(_MaKho);
         return(_Kho.DeleteKho());
     }
     catch { return(1); }
 }
Example #2
0
 public static int KhoTonTai_all(string _makho)
 {
     try
     {
         Models.KhoMod _Kho = new Models.KhoMod(_makho);
         return(_Kho.KhoTonTai_all());
     }
     catch
     {
         return(1);
     }
 }
Example #3
0
 public static int InsertKho(string _makho, string _tenkho, string _diachi, string _macn)
 {
     try
     {
         Models.KhoMod _Kho = new Models.KhoMod(_makho, _tenkho, _diachi, _macn);
         return(_Kho.InsertKho());
     }
     catch
     {
         return(1);
     }
 }