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; }
public FishController(IFishPageViewModelFactory fishPageViewModelFactory, IMailer mailer) { this.fishPageViewModelFactory = fishPageViewModelFactory; this.mailer = mailer; }