Beispiel #1
0
 public string Save(Mission mission, string CurrentUsername)
 {
     if (FindById(mission.Id, CurrentUsername) == null)
     {
         return(MissionRepository.Save(mission) ? null : Messages.IssueInDatabase);
     }
     else
     {
         return(Messages.Exist);
     }
 }