Esempio n. 1
0
        public async Task <UserViewModel> GetUser(long Id)
        {
            var user = await userBUS.GetUser(Id);

            UserViewModel userVM = new UserViewModel {
                Id          = user.Id,
                Username    = user.Username,
                Password    = user.Password,
                Email       = user.Email,
                AuthLevelId = user.AuthLevelRefId
            };

            return(userVM);
        }