public IActionResult Remove(int id)
        {
            var salary = _salary.GetSalaryById(id);

            if (salary != null)
            {
                _salary.RemoveSalary(salary);
            }
            return(RedirectToAction("Index"));
        }