Till slut fick jag personvalet att fungera
This commit is contained in:
@ -84,13 +84,13 @@ public class ParticipantViewModel : ViewModelBase
|
||||
return false;
|
||||
}
|
||||
var tmpTask = _Repository.Save(ParticipantObject);
|
||||
bool tmp = tmpTask.GetAwaiter().GetResult();
|
||||
if (tmp)
|
||||
int tmp = tmpTask.GetAwaiter().GetResult();
|
||||
if (tmp != -1)
|
||||
{
|
||||
ParticipantObject = new Participant();
|
||||
this.Get();
|
||||
}
|
||||
return tmp;
|
||||
return tmp != -1;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user