Beispiel #1
0
        public async Task <IActionResult> DeleteSalary(int id)
        {
            bool add = await _repo2.DeleteSalary(id);

            if (add == true)
            {
                return(RedirectToAction(nameof(AddSalaryInfo), new { delete = add }));
            }

            return(null);
        }