public void UpdateCharacter(CharacterViewModel viewModel) { var character = GetCharacterFromModel(viewModel); context.UpdateCharacter(character); }