public Item(ItemDTO.ForPersonOverview dto) { ItemId = dto.ItemId; Name = dto.Name; Category = new Category(dto.Category); Trip = new Trip(dto.Trip); ItemType = dto.ItemType; }
public ItemPerson(ItemDTO.ForPersonOverview i) { Item = new Item(i); IsDone = i.IsDone; }