/// <summary> /// Function To Update the user role . /// </summary> /// <param name="objLoginProp"></param> /// <returns>List</returns> /// <createdBy></createdBy> /// <createdOn>Apr-28,2016</createdOn> public void UpdateUserDetails(AdminUserProp objAdminUserProp, List <RoleList> lstRoles) { try { AdminUserDAL objAdminUserDAL = new AdminUserDAL(); CommonDAL.logger.LogInfo(typeof(string), string.Format(CultureInfo.InvariantCulture, "Called {2} function ::{0} {1}.", DateTime.Now.ToShortDateString(), DateTime.Now.ToShortTimeString(), MethodBase.GetCurrentMethod().Name)); objAdminUserDAL.UpdateUserDetails(objAdminUserProp, lstRoles); } 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)); } }