Exemple #1
0
        public async Task <ActionResult> UpdateUser(string userId)
        {
            var userupdateModel = await UserReader.GetUserUpdate(userId);

            if (userupdateModel == null)
            {
                return(ViewMessageModal(new ViewMessageModel(ViewMessageType.Warning, "User Not Found!", "Unable to find user information.")));
            }

            return(View("UpdateUserModal", userupdateModel));
        }