public bool AssignRole(decimal userId, string roleIds, string userCreated) { try { var userStore = new UserStore(); var dt = userStore.AssignRole(userId, roleIds, userCreated); if (dt) { return(true); } else { return(false); } } catch (Exception) { return(false); } }