Example #1
0
        public IActionResult GetById(string id)
        {
            var user    = _commonServices.GetById(id);
            var userDto = _mapper.Map <UserViewModel>(user);

            return(Ok(userDto));
        }