コード例 #1
0
        public async Task <IActionResult> Delete(int id)
        {
            await _vehicleManagementAPI.DeleteInsurance(id);

            return(RedirectToAction("Index"));
        }
コード例 #2
0
 public async Task <List <Insurance> > DeleteInsurance(int id)
 {
     return(await _client.DeleteInsurance(id));
 }