protected override NotificationViewModel Init(Notification dto) { base.Init(dto); Board = ((CloseBoardNotification) dto).Data.Board; return this; }
protected override NotificationViewModel Init(Notification dto) { base.Init(dto); var realDto = (AddedToBoardNotification) dto; Board = realDto.Data.Board; return this; }
protected override NotificationViewModel Init(Notification dto) { base.Init(dto); var x = (ChangeCardNotification) dto; Card = x.Data.Card; Board = x.Data.Board; return this; }