Пример #1
0
        internal static IHttpActionResult Delete()
        {
            ReceiptItemImplementaion.Delete();

            var _receipts  = GetAll() as OkNegotiatedContentResult <IEnumerable <Receipt> >;
            var receiptIDs = _receipts.Content.Select(t => t.ID).ToList();
            var response   = baseController.Delete(receiptIDs);

            return(response);
        }