Exemplo n.º 1
0
 public bool EditBank(long id, string name, string niceName, long?number, string remark, string shortName, int type, string url, long creator)
 {
     try
     {
         var obj  = db.UP_EditBank(id, number, name, niceName, shortName, remark, url, creator, type);
         var bank = obj.FirstOrDefault();
         if (bank == null)
         {
             return(false);
         }
         return(true);
     }
     catch (Exception ex)
     {
         LogUtil.Exception("ExceptionLogger", ex);
         return(false);
     }
 }