Exemplo n.º 1
0
 public tbl_000_H_ITEM_FDC GetByDesc(string name)
 {
     try
     {
         if (name == null)
         {
             throw new Exception("Invalid Parameter!");
         }
         var exist = itfdcdal.GetByDesc(name);
         if (exist == null)
         {
             throw new Exception("Record does not exist!");
         }
         return(exist);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }