public void MarkAsDone(MissionEntity entity)
 {
     if (entity.IsDone == false)
     {
         entity.IsDone = true;
     }
     else
     {
         entity.IsDone = false;
     }
     missionRepository.Update(entity.GetDalEntity());
     uow.Commit();
 }
 public void Delete(MissionEntity entity)
 {
     missionRepository.Delete(entity.GetDalEntity());
     uow.Commit();
 }
 public void Edit(MissionEntity entity)
 {
     missionRepository.Update(entity.GetDalEntity());
     uow.Commit();
 }
 public void Create(MissionEntity entity)
 {
     entity.IsDone = false;
     missionRepository.Create(entity.GetDalEntity());
     uow.Commit();
 }