Example #1
0
        public static async Task <User> getUserById(string id)
        {
            SMResponse m = await AsyncClient.get(APIRoutes.fetchUserWithIdRoute() + id);

            if (m == null)
            {
                return(null);
            }
            return(m.user);
        }