public static UserViewModel ConvertToViewModel(User dbModel)
        {
            var viewModel = new UserViewModel
            {
                Id           = dbModel.Id,
                FirstName    = dbModel.FirstName,
                LastName     = dbModel.LastName,
                Username     = dbModel.Username,
                Password     = dbModel.Password,
                PasswordHash = dbModel.PasswordHash.ToArray(),
                PasswordSalt = dbModel.PasswordSalt.ToArray(),
                Role         = RoleDto.FromModel(dbModel.Role),
                Enabled      = dbModel.Enabled,
            };

            return(viewModel);
        }