示例#1
0
 /// <summary>
 /// To update system settings
 /// </summary>
 /// <param name="userID"></param>
 /// <returns></returns>
 public bool UpdateSystemSettings(AdminUserProp setting)
 {
     try
     {
         CommonDAL.logger.LogInfo(typeof(string), string.Format(CultureInfo.InvariantCulture, "Called {2} function ::{0} {1}.", DateTime.Now.ToShortDateString(), DateTime.Now.ToShortTimeString(), MethodBase.GetCurrentMethod().Name));
         AdminUserDAL objAdminUserDAL = new AdminUserDAL();
         return(objAdminUserDAL.UpdateSystemSettings(setting));
     }
     catch (Exception)
     {
         throw;
     }
     finally
     {
         CommonDAL.logger.LogInfo(typeof(string), string.Format(CultureInfo.InvariantCulture, "End {2} function ::{0} {1}.", DateTime.Now.ToShortDateString(), DateTime.Now.ToShortTimeString(), MethodBase.GetCurrentMethod().Name));
     }
 }