Example #1
0
        public async Task <IActionResult> Login([FromBody] Users users)
        {
            Console.WriteLine("23232323");
            var result = await _userRepositories.LoginTask(users);

            if (result != null)
            {
                return(Ok(result));
            }
            else
            {
                return(NoContent());
            }
        }