Пример #1
0
        public IActionResult Login(string phone)
        {
            bool accept = validator.IsPhone(ref phone);

            return(new JsonResult(new { phone, accept }));
        }