Esempio n. 1
0
 public IActionResult CreatePassword(LoginRequest request)
 {
     if (_service.CreatePassword(request))
     {
         return(Created("", ""));
     }
     else
     {
         return(BadRequest());
     }
 }
Esempio n. 2
0
        public IActionResult CreatePassword(LoginRequestDto req)
        {
            string wynik = _IsDbService.CreatePassword(req);

            return(Ok(wynik));
        }