/// <summary> /// Duplicate the salary. /// </summary> /// <param name="sourceId"></param> /// <returns></returns> public ActionResult Copy(int sourceId) { _salaryService.CopySalary(sourceId); return(RedirectToAction("Index")); }
public void CopySalary(int sourceId) { _SalaryService.CopySalary(sourceId); }