Exemple #1
0
        public void EditFaction(string id, Guid newFaction)
        {
            var searchedUser = _repository.GetUserById(id);

            searchedUser.FactionId = newFaction;
            _repository.EditUser(searchedUser);
        }
 public UserStatus GetUserById(string id)
 {
     return(_userRepo.GetUserById(id));
 }