public async Task <IActionResult> Delete(int id)
        {
            await _insuranceService.DeleteAsync(id);

            return(RedirectToAction("Index"));
        }
Esempio n. 2
0
 public async Task <PopularResult> DeleteAsync([Required] int id)
 {
     return(await _insuranceService.DeleteAsync(id));
 }