public void EnableEditMode(GameDto game) { IsGameDtoEditMode = true; }
public void DeleteSelectedGame(GameDto game) { GamesDto.Remove(GamesDto.Where(x => x.ImportId == game.ImportId).FirstOrDefault()); }
public void AddGame() { IsGameDtoEditMode = false; IsGameDtoCreateMode = true; CreatedGameDto = new GameDto() { Genre = new Genre(), Platform = new Platform(), RegistrationDate = DateTime.Now }; }