/// <summary> /// Constructor /// </summary> /// <param name="container">Dependency injection container</param> /// <param name="character">Character that will be updated</param> public VMUpdateCharacterPage( IContainer container, Item character) : base(container) { VMUpdateCharacter = new VMUpdateCharacter(container, character); CharacterService = container.Resolve <ICharacterService>(); Character = character; }
/// <summary> /// Register for permanent character /// </summary> public async Task Register() { await VMUpdateCharacter.Register(); }