public void AddDeleteButtonEvent(IDeleteCard deleteUpgradePage, int uniqueBuildId, int uniquePilotId) { this.uniquePilotId = uniquePilotId; this.deleteCardPage = deleteUpgradePage; this.uniqueBuildId = uniqueBuildId; hasDeleteButton = true; }
public CardController(ICardServices servicesCard, ICreateCard createCard, IReadCard cardRead, IEditCard editCard, IDeleteCard deleteCard, cardModel cardModel) { this.CardService = servicesCard; this.CardCreate = createCard; this.readCard = cardRead; this.cardEdit = editCard; this.cardDelete = deleteCard; this.ModelCardc = cardModel; }