예제 #1
0
        public async Task <IActionResult> GetStudent()
        {
            var user = await _repo.GetStudent();

            var userToReturn = _mapper.Map <IEnumerable <UserForDetailedDto> >(user);

            return(Ok(userToReturn));
        }