Example #1
0
 public ActorsController(IAddActorCommand addActorCommand, IGetActorsCommand getActorsCommand, IGetActorCommand getActorCommand, IEditActorCommand editActorCommand, IDeleteActorCommand deleteActorCommand)
 {
     this.addActorCommand    = addActorCommand;
     this.getActorsCommand   = getActorsCommand;
     this.getActorCommand    = getActorCommand;
     this.editActorCommand   = editActorCommand;
     this.deleteActorCommand = deleteActorCommand;
 }
Example #2
0
 public ActorsController(IAddActorCommand addActors, IGetActorsCommand getActors, IGetActorCommand getActor, IEditActorCommand editActor, IDeleteActorCommand deleteActor)
 {
     this.addActors   = addActors;
     this.getActors   = getActors;
     this.getActor    = getActor;
     this.editActor   = editActor;
     this.deleteActor = deleteActor;
 }