Exemple #1
0
        public IActionResult Login([FromBody] LoginDto userDto)
        {
            string token = _repository.GenerateJwt(userDto).Result;

            return(Ok(token));
        }