public async Task <IActionResult> DeleteWithName([FromBody] Delivery resource) { var result = await _deliveryRepository.DeleteWithName(resource.Name); return(Ok(result)); }