public ActionResult <dynamic> SignIn(AdminCache cache) { string message = string.Empty; string authToken = admins.AuthToken(cache, ref message); if (!string.IsNullOrEmpty(authToken)) { return(new { success = true, data = new { auth_token = authToken } }); } return(Return500Error(message)); }