public RatesCategoryRepositoryTest()
        {
            var host = WebHost.CreateDefaultBuilder()
                       .UseStartup <Startup>()
                       .Build();

            iRateCategoryListLibrary = new Mock <IConnection <RateCategoryList> >();
            iRateCategoryLibrary     = new Mock <IConnection <RateCategory> >();
            iRatePlansLibrary        = new Mock <IConnection <RatePlans> >();
            iMarketLibrary           = new Mock <IConnection <Market> >();
            rateCategoryRepository   = new RatesCategoryRepository(iMarketLibrary.Object, iRateCategoryListLibrary.Object, iRatePlansLibrary.Object, iRateCategoryLibrary.Object);
        }
 public RatesCategoryController(IRatesCategory iRatesCategory)
 {
     this.iRatesCategory = iRatesCategory;
 }
Ejemplo n.º 3
0
 public RoomController(IRoom iRoom, IMasterData iMasterData, IRatesCategory iRatesCategory)
 {
     this.iRoom          = iRoom;
     this.iMasterData    = iMasterData;
     this.iRatesCategory = iRatesCategory;
 }