public ValuesController() { this.shoeTrackerDataRepository = new ShoeTrackerDatabaseRepo(ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString); this.shoeTrackerRepository = new ShoeTrackerRepository(shoeTrackerDataRepository); }
/// <summary> /// Constructor /// </summary> /// <param name="shoeTracker"></param> public ShoeTrackerQueryHandlers(IShoeTrackerRepository shoeTracker) { shoeTrackerRepository = shoeTracker; }
/// <summary> /// constructor /// </summary> /// <param name="shoeTrackerRepository"></param> public ShoeTrackerCommandHandler(IShoeTrackerRepository shoeTrackerRepository) { this.shoeTrackerRepository = shoeTrackerRepository; }