public void Test_5_Delete() { //Act var deleteResult = ReceiptImplementaion.Delete() as OkNegotiatedContentResult <IEnumerable <Guid> >; //Assert Assert.IsNotNull(deleteResult); }
internal static IHttpActionResult Delete() { ReceiptImplementaion.Delete(); var _users = GetAll() as OkNegotiatedContentResult <IEnumerable <User> >; var userIDs = _users.Content.Select(t => t.ID).ToList(); var response = baseController.Delete(userIDs); return(response); }
internal static IHttpActionResult Delete() { CartItemImplementaion.Delete(); ReceiptImplementaion.Delete(); var _products = GetAll() as OkNegotiatedContentResult <IEnumerable <Product> >; var productIDs = _products.Content.Select(t => t.ID).ToList(); var response = baseController.Delete(productIDs); return(response); }