Ejemplo n.º 1
0
 public ItemController(IAddItemService addItem, IConsultItemService consultItem,
                       IDeleteItemService deleteItem, IUpdateItemService updateItem)
 {
     _addItem     = addItem;
     _consultItem = consultItem;
     _deleteItem  = deleteItem;
     _updateItem  = updateItem;
 }
 public DeleteItemService(IDeleteItemService <TItem> next)
 {
     _next = next ?? throw new ArgumentNullException(nameof(next));
 }