예제 #1
0
        public SaveWhingeSteps()
        {
            ApplicationContext = ScenarioContext.Current.Get<WhingePoolApplicationContext>("ApplicationContext");
            Assert.IsNotNull(ApplicationContext);

            WhingeService = new WhingeService(ApplicationContext);
            WhingePoolService = new WhingePoolService(ApplicationContext);
        }
예제 #2
0
 public void Whinge(WhingeEntity whinge)
 {
     var service = new WhingeService(ApplicationContext);
     service.Save(whinge);
 }