Ejemplo n.º 1
0
        public IActionResult Get(int profileId)
        {
            var jobHistoryVms = Mapper.Map <IEnumerable <Models.Profile.JobHistory>,
                                            IEnumerable <JobHistoryViewModel> >(_jobHistoryService.GetProfileJobHistory(profileId));

            return(new OkObjectResult(jobHistoryVms));
        }