Merge branch 'Main' of https://github.com/samsyntax24/OriginalGozareshgir into Main
This commit is contained in:
@@ -272,6 +272,7 @@ public class GetProjectsListQueryHandler : IBaseQueryHandler<GetProjectsListQuer
|
||||
// گرفتن تمام سکشنهای تسک با activities
|
||||
var sections = await _context.TaskSections
|
||||
.Include(s => s.Activities)
|
||||
.Include(x=>x.AdditionalTimes)
|
||||
.Where(s => s.TaskId == task.Id)
|
||||
.ToListAsync(cancellationToken);
|
||||
|
||||
|
||||
@@ -44,9 +44,9 @@ public class ProjectController : ProgramManagerBaseController
|
||||
|
||||
[HttpGet("search")]
|
||||
public async Task<ActionResult<OperationResult<GetProjectSearchResponse>>> Search(
|
||||
[FromQuery] string query)
|
||||
[FromQuery] string search)
|
||||
{
|
||||
var searchQuery = new GetProjectSearchQuery(query);
|
||||
var searchQuery = new GetProjectSearchQuery(search);
|
||||
var res = await _mediator.Send(searchQuery);
|
||||
return res;
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"sqlDebugging": true,
|
||||
"dotnetRunMessages": "true",
|
||||
"nativeDebugging": true,
|
||||
"applicationUrl": "https://localhost:5004;http://localhost:5003;",
|
||||
"applicationUrl": "https://localhost:5004;http://localhost:5003;https://192.168.0.117:5006;",
|
||||
"jsWebView2Debugging": false,
|
||||
"hotReloadEnabled": true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user