Exemple #1
0
 //salary compunent
 public ListResultOutput <SalaryCompunentDto> GetSalaryCompunents()
 {
     return(new ListResultOutput <SalaryCompunentDto>(Mapper.Map <List <SalaryCompunentDto> >(_salaryComponentRepository.GetAll())));
 }
        public ActionResult Index()
        {
            var salaryComponents = _salaryComponentRepository.GetAll("ParentComponent");

            return(View(salaryComponents));
        }