Compare commits
2 Commits
d1b3256e52
...
68b960abec
| Author | SHA1 | Date |
|---|---|---|
|
|
68b960abec | |
|
|
419fef2e64 |
|
|
@ -136,6 +136,16 @@ namespace IRaCIS.Core.Application.Service
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public async Task<IResponseOutput> AddOrUpdateTrialExperience(TrialExperienceCommand trialExperienceViewModel)
|
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)
|
if (trialExperienceViewModel.Id == Guid.Empty || trialExperienceViewModel.Id == null)
|
||||||
{
|
{
|
||||||
var trialExperience =
|
var trialExperience =
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue