public async Task <IActionResult> DeleteConfirmed(int id) { await _salesRecordsService.RemoveAsync(id); return(RedirectToAction(nameof(Index))); }