Exemplo n.º 1
0
 public JournalistsController(IDeleteJournalistCommand deleteJournalistCommand, IGetJournalistCommand getJournalistCommand, IGetJournalistsCommand getJournalistsCommand, IInsertJournalistCommand insertJournalistCommand, IUpdateJournalistCommand updateJournalistCommand)
 {
     this.deleteJournalistCommand = deleteJournalistCommand;
     this.getJournalistCommand    = getJournalistCommand;
     this.getJournalistsCommand   = getJournalistsCommand;
     this.insertJournalistCommand = insertJournalistCommand;
     this.updateJournalistCommand = updateJournalistCommand;
 }
Exemplo n.º 2
0
 public StoriesController(IInsertStoryCommand insertStoryCommand, IGetStoriesCommand getStoriesCommand, IDeleteStoryCommand deleteStoryCommand, IGetStoryCommand getStoryCommand, IUpdateStoryCommand updateStoryCommand, IGetJournalistsCommand getJournalistsCommand, IGetCategoriesCommand getCategoriesCommand, IGetJournalistCommand getJournalistCommand)
 {
     this.insertStoryCommand    = insertStoryCommand;
     this.getStoriesCommand     = getStoriesCommand;
     this.deleteStoryCommand    = deleteStoryCommand;
     this.getStoryCommand       = getStoryCommand;
     this.updateStoryCommand    = updateStoryCommand;
     this.getJournalistsCommand = getJournalistsCommand;
     this.getCategoriesCommand  = getCategoriesCommand;
     this.getJournalistCommand  = getJournalistCommand;
 }