Beispiel #1
0
        //[Route("LogCreds")]
        public IActionResult OnLogin(string emailID, string password)
        {
            Users user = UserModal.OnLogin(emailID, password);

            if (user != null)
            {
                return(Ok(user));
            }
            else
            {
                return(NotFound());
            }
        }