public static IGuiActorView CreateActorView(Window parent,ITaskManager taskManager, Actor actor)
 {
     ViewActorDialog actorDialog = new ViewActorDialog(parent);
     actorDialog.ActorName = actor.Name;
     actorDialog.ActorEmail = actor.Email;
     actorDialog.Title = "Edit Actor";
     return actorDialog;
 }
 public static IGuiActorView CreateActorView(Window parent)
 {
     ViewActorDialog actorDialog = new ViewActorDialog(parent);
     actorDialog.Title = "Create Actor";
     return actorDialog;
 }