public AnalystController(IApplicationUserRepo userRepo, IForecastRepo forecastRepo, ICropRepo cropRepo, IAnalystRepo analystRepo) { this.forecastRepoInterface = forecastRepo; this.cropRepoInterface = cropRepo; this.applicationUserRepoInterface = userRepo; this.analystRepoInterface = analystRepo; }
public CropsController(ICropYieldRepo cropYieldRepo, ICropRepo cropRepo, IFarmRepo farmRepo) { this.cropRepoInterface = cropRepo; this.cropYieldRepoInterface = cropYieldRepo; this.farmRepoInterface = farmRepo; }