修改
This commit is contained in:
@@ -136,6 +136,16 @@ namespace IRaCIS.Core.Application.Service
|
||||
[HttpPost]
|
||||
public async Task<IResponseOutput> AddOrUpdateTrialExperience(TrialExperienceCommand trialExperienceViewModel)
|
||||
{
|
||||
|
||||
if (trialExperienceViewModel.TrialId == null)
|
||||
{
|
||||
trialExperienceViewModel.ExperienceDataType = ExperienceDataType.System;
|
||||
}
|
||||
else
|
||||
{
|
||||
trialExperienceViewModel.ExperienceDataType = ExperienceDataType.Trial;
|
||||
}
|
||||
|
||||
if (trialExperienceViewModel.Id == Guid.Empty || trialExperienceViewModel.Id == null)
|
||||
{
|
||||
var trialExperience =
|
||||
|
||||
Reference in New Issue
Block a user