public async Task <IActionResult> Get([FromQuery] DeliveryGetOptions options)
 {
     return(Ok(await _service.Get(options)));
 }
Example #2
0
 public async Task GetExecutionContextExpectArgumentNullException()
 {
     await Assert.ThrowsAsync <ArgumentNullException>(async() =>
                                                      await _deliveryService.Get(null, "id"));
 }
 public ActionResult <List <DeliveryItem> > Get() =>
 _deliveryService.Get();