|
@@ -279,7 +279,7 @@ public class IndustryController : BaseController
|
|
/// <param name="dto"></param>
|
|
/// <param name="dto"></param>
|
|
/// <returns></returns>
|
|
/// <returns></returns>
|
|
[HttpPut("volunteer")]
|
|
[HttpPut("volunteer")]
|
|
- public async Task UpdateVolunteerAsync(UpdateVolunteerInDto dto)
|
|
|
|
|
|
+ public async Task UpdateVolunteerAsync([FromBody]UpdateVolunteerInDto dto)
|
|
=> await _industryApplication.UpdateVolunteerAsync(dto);
|
|
=> await _industryApplication.UpdateVolunteerAsync(dto);
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|
|
@@ -288,7 +288,7 @@ public class IndustryController : BaseController
|
|
/// <param name="dto"></param>
|
|
/// <param name="dto"></param>
|
|
/// <returns></returns>
|
|
/// <returns></returns>
|
|
[HttpGet("volunteer/report")]
|
|
[HttpGet("volunteer/report")]
|
|
- public async Task<PagedDto<VolunteerReportItemsOutDto>> GetVolunteerReportItemsAsync(VolunteerReportItemsInDto dto)
|
|
|
|
|
|
+ public async Task<PagedDto<VolunteerReportItemsOutDto>> GetVolunteerReportItemsAsync([FromQuery]VolunteerReportItemsInDto dto)
|
|
=> (await _industryApplication.GetVolunteerReportItemsAsync(dto).ToPagedListAsync(dto)).ToPaged();
|
|
=> (await _industryApplication.GetVolunteerReportItemsAsync(dto).ToPagedListAsync(dto)).ToPaged();
|
|
#endregion
|
|
#endregion
|
|
}
|
|
}
|