示例#1
0
 public FishController(IFishService fishService, ITwitterService twitterService, IFishPageViewModelFactory fishPageViewModelFactory, IFishEditPageViewModelFactory fishEditPageViewModelFactory, IFishRepository fishRepository, ISpeciesRepository speciesRepository, IPhotosRepository photosRepository, ILogger logger)
 {
     this.fishService = fishService;
     this.twitterService = twitterService;
     this.fishPageViewModelFactory = fishPageViewModelFactory;
     this.fishEditPageViewModelFactory = fishEditPageViewModelFactory;
     this.fishRepository = fishRepository;
     this.speciesRepository = speciesRepository;
     this.photosRepository = photosRepository;
     this.logger = logger;
 }
示例#2
0
 public FishController(IFishPageViewModelFactory fishPageViewModelFactory, IMailer mailer)
 {
     this.fishPageViewModelFactory = fishPageViewModelFactory;
     this.mailer = mailer;
 }