Beispiel #1
0
        public async Task <IActionResult> GetUsers()
        {
            var users = await _repo.GetUsers();

            var userToReturn = _mapper.Map <IEnumerable <UserForListDto> >(users);

            return(Ok(users));
        }