Пример #1
0
        InventoryItemDetails Handle(GetDetails _)
        {
            CheckCreated();

            return(new InventoryItemDetails
            {
                Name = name,
                Total = total,
                Active = active
            });
        }
Пример #2
0
 InventoryItemDetails Handle(GetDetails query)
 {
     return(new InventoryItemDetails(name, total, active));
 }