public async Task <IActionResult> Delete(int id) { await _vehicleManagementAPI.DeleteInsurance(id); return(RedirectToAction("Index")); }
public async Task <List <Insurance> > DeleteInsurance(int id) { return(await _client.DeleteInsurance(id)); }
public async Task <IActionResult> Delete(int id) { await _vehicleManagementAPI.DeleteInsurance(id); return(RedirectToAction("Index")); }
public async Task <List <Insurance> > DeleteInsurance(int id) { return(await _client.DeleteInsurance(id)); }