예제 #1
0
        public IActionResult Get()
        {
            return(ApiAction(() =>
            {
                var consultants = _consultantService.List();

                return Accepted(_mapper.Map <List <ReadedConsultantViewModel> >(consultants));
            }));
        }