Exemplo n.º 1
0
    public HttpResponseMessage Delete(int shoppingListId, int shoppingListEntry)
    {
        var model = new DeleteShoppingListEntryInput
        {
            ShoppingListId      = shoppingListId,
            ShoppingListEntryId = shoppingListEntry,
            InitiatorId         = this.GetCurrentUserId()
        };
        var result = _shoppingListService.DeleteShoppingListEntry(model);

        return(Response(result));
    }