public HttpResponseMessage GetUser(string id)
 {
     try
     {
         var user = userFacade.GetUser(id);
         return(Request.CreateResponse(user != null ? new
         {
             user.NameId,
             user.AccessToken,
             ConfigSets = user.AdministratorType == AdministratorTypes.SystemAdmin ? reader.GetAllConfigSetNames() : user.ConfigSet.Select(c => c.Id).ToList()
         } : CreateDeletedResponse(id)));
     }
     catch (NullReferenceException)
     {
         return(Request.CreateResponse(CreateDeletedResponse(id)));
     }
 }