internal static IHttpActionResult GetByID() { var _receipts = GetAll() as OkNegotiatedContentResult <IEnumerable <Receipt> >; var receipts = _receipts.Content.ToList(); var response = baseController.GetByID(receipts[0].ID); return(response); }
internal static IHttpActionResult GetByID() { var _receipts = GetAll() as OkNegotiatedContentResult <IEnumerable <Receipt> >; var receipts = _receipts.Content.ToList(); var response = baseController.GetByID(receipts[0].ID); return(response); }