Beispiel #1
0
 public bool ValidateProductCodeIfExit(string productCode)
 {
     using (var db = new KoontabiDBEntities())
     {
         var result = db.Sp_ValidateProductCodeIfExit(productCode).FirstOrDefault();
         if (result != null)
         {
             return(result.Result == 1);
         }
         return(false);
     }
 }