Example #1
0
        public async Task <UserApiModel> Get(string username)
        {
            UserDTO user = await _business.GetByName(username);

            return(ApiTranslators.Translate <UserDTO, UserApiModel>(user));
        }