public CardAction(SerCardAction cardAction) { Id = cardAction.Id; CardId = cardAction.CardId; Text = cardAction.Text; ParticipantId = cardAction.ParticipantId; }
public void ChangeCardAction(int id, SerCardAction cardAction) { _repository.ChangeCardAction(id, new CardAction(cardAction)); }
public int AddCardAction(SerCardAction cardAction) { return(_repository.AddCardAction(new CardAction(cardAction))); }