Exemplo n.º 1
0
        public GetTotalHoursController()
        {
            DataServices.IFactory dataServicesFactory = new DataServices.Factory();
            _Factory = new Factory(dataServicesFactory);

            _TimeTrackerBusinessService = _Factory.CreateTimeTrackerBusinessService();
        }
        public GetActivitySummaryController()
        {
            DataServices.IFactory dataServicesFactory = new DataServices.Factory();
            _Factory = new Factory(dataServicesFactory);

            _TimeTrackerBusinessService = _Factory.CreateTimeTrackerBusinessService();
        }
Exemplo n.º 3
0
        public TTWebAPIController()
        {
            DataServices.IFactory dataServicesFactory = new DataServices.Factory();
            _Factory = new BusinessServices.Factory(dataServicesFactory);

            _TimeTrackerBusinessService = _Factory.CreateTimeTrackerBusinessService();
        }
        public void SetUp()
        {
            DataServices.IFactory dataServicesFactory = new DataServices.Factory();
            _Factory = new Factory(dataServicesFactory);

            _TimeTrackerBusinessService = _Factory.CreateTimeTrackerBusinessService();
        }
        public void CanCreateTimeTrackerBusinessService()
        {
            ITimeTrackerBusinessService businessService = _Factory.CreateTimeTrackerBusinessService();

            Assert.IsNotNull(businessService);
        }
 public UpdateTimeAwayProjectHoursController()
 {
     DataServices.IFactory dataServicesFactory = new DataServices.Factory();
     _Factory = new Factory(dataServicesFactory);
     _TimeTrackerBusinessService = _Factory.CreateTimeTrackerBusinessService();
 }