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