public async Task <IActionResult> DeleteConfirmed(int id) { var operations = await _operationsService.DetailsOperations(id); await _operationsService.Delete(operations); return(RedirectToAction(nameof(Index))); }
public async Task <IActionResult> DeleteConfirmed(int id) { var operations = await _operationsService.DetailsOperations(id); await _operationsService.Delete(operations); return(RedirectToAction(nameof(Index))); }