Exemple #1
0
        public async Task <UserDTO> GetUser(string query)
        {
            //string query = "Users:" + "_id:" + id;

            List <UserDTO> users = await _query.GetList(new User(), new UserDTO(), query);

            return(users.FirstOrDefault());
        }