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