Пример #1
0
        public ActionResult <dynamic> ChangePassword(AdminCache cache)
        {
            string message = null;

            if (admins.ChangePassword(cache, ref message))
            {
                return(new { success = true, message = "Your password was changed." });
            }
            return(Return500Error(message));
        }