This commit is contained in:
2018-12-14 18:14:58 +00:00
parent 72e612c18f
commit 5c78529e55
2 changed files with 43 additions and 5 deletions

View File

@@ -147,11 +147,10 @@ namespace AyaNova.Api.Controllers
return StatusCode(503, new ApiErrorResponse(ApiErrorCode.API_CLOSED, null, serverState.Reason));
}
Dictionary<string, string> ret = new Dictionary<string, string>();
ret.Add("usertypes", "AyaNova user account types");
ret.Add("authorizationroles", "AyaNova user account role types");
ret.Add("AyaType", "All AyaNova object types, use the AyaTypeController route to fetch these");
List<KeyValuePair<string, string>> ret = new List<KeyValuePair<string, string>>();
ret.Add(new KeyValuePair<string, string>("usertypes", "AyaNova user account types"));
ret.Add(new KeyValuePair<string, string>("authorizationroles", "AyaNova user account role types"));
ret.Add(new KeyValuePair<string, string>("AyaType", "All AyaNova object types, use the AyaTypeController route to fetch these"));
return Ok(new ApiOkResponse(ret));
}