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