public async Task <Response> DeleteAsync(int id) { return(await _sellerService.DeleteSellerAsync(id)); }
public async Task <IActionResult> DeleteConfirmed(Guid id) { await _sellerService.DeleteSellerAsync(id); return(RedirectToAction(nameof(Index))); }