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