This commit is contained in:
mmrbnjd
2024-04-17 17:34:34 +03:30
parent 3f0a37a08b
commit 3f3c283fef
5 changed files with 115 additions and 78 deletions

View File

@@ -24,11 +24,6 @@ namespace Back.Controllers
if (!ModelState.IsValid) return BadRequest(model);
var result = await _servUser.UserAuthentication(model.Username, model.Password);
if (result != null) return Ok(result);
else return NotFound("کاربری با این مشخصات یافت نشد");