예제 #1
0
        public IActionResult GetIdByEmail(string email, string password)
        {
            var id = _accountServices.GetIdByEmail(email, password);

            return(id != 0 ? Ok(id) : Ok("Invalid e-email or password"));
        }