public TodoListSummaryViewmodel(int todoListId, string title, int numberOfNotDoneItems, UserSummaryViewmodel owner) { TodoListId = todoListId; Title = title; NumberOfNotDoneItems = numberOfNotDoneItems; Owner = owner; }
public WhenUserIsConvertedToUserSummaryView() { user = new IdentityUser("*****@*****.**"); user.Email = "[email protected]"; resultFields = UserSummaryViewmodelFactory.Create(user); }