public async Task <IActionResult> Delete(int id) { return(await _contractorClient.Delete(id)); }
public async Task <IActionResult> OnPostDeleteAsync(int id) { await _contractorClient.Delete(id); return(RedirectToPage("Index")); }
public async Task <IActionResult> Delete(int id) { return(await _contractorClient.Delete(id)); }
public async Task <IActionResult> OnPostDeleteAsync(int id) { await _contractorClient.Delete(id); return(RedirectToPage("Index")); }