Фикс swagger
This commit is contained in:
@@ -61,4 +61,5 @@ public class LecturesController : ControllerBase
|
||||
[HttpGet("{id:int}/reviews")]
|
||||
public async Task<ActionResult> Reviews(int id, [FromQuery] PaginationRequest pagination) =>
|
||||
Ok(await _reviews.GetByLectureAsync(id, pagination));
|
||||
|
||||
}
|
||||
|
||||
@@ -28,4 +28,5 @@ public class SyncController : ControllerBase
|
||||
[HttpPost("employees")]
|
||||
public async Task<ActionResult> SearchEmployees([FromQuery] string fullname) =>
|
||||
Ok(await _sync.SearchEmployeesAsync(fullname));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user