public async Task <IActionResult> DeleteYear(int id) { var deleteSalary = await _salary.DeleteYear(id); if (deleteSalary) { return(RedirectToAction("Year", "Salary")); } return(View()); }
public async Task <IActionResult> DeleteYear(int id) { var deleteSalary = await _salary.DeleteYear(id); if (deleteSalary) { return(RedirectToAction("Year", "Salary")); } return(View()); }