This commit is contained in:
he
2022-07-15 11:51:22 +08:00
parent 5a96393e7f
commit 82730d079b
2 changed files with 26 additions and 0 deletions
@@ -73,6 +73,7 @@ namespace IRaCIS.Application.Services
/// </summary>
/// <param name="inDto"></param>
/// <returns></returns>
[HttpPost]
public async Task<IResponseOutput> SetTrialJudgyInfo(SetTrialJudgyInfoInDto inDto)
{
await _trialRepository.UpdatePartialFromQueryAsync(inDto.TrialId, x => new Trial()
@@ -92,6 +93,7 @@ namespace IRaCIS.Application.Services
/// </summary>
/// <param name="inDto"></param>
/// <returns></returns>
[HttpPost]
public async Task<GetTrialJudgyInfoOutDto> GetTrialJudgyInfo(GetTrialJudgyInfoInDto inDto)
{
GetTrialJudgyInfoOutDto result = await _trialRepository.Where(x => x.Id == inDto.TrialId).Select(x => new GetTrialJudgyInfoOutDto