public static IAdministrationBusinessObject GetAdministrationBusinessObject()
        {
            var appSettings = Options.Create(new AppSettings
            {
                ConnectionString = "server=(local);database=ServiceMonitor;integrated security=yes;"
            });

            var entityMapper = new ServiceMonitorEntityMapper() as IEntityMapper;

            return(new AdministrationBusinessObject(new ServiceMonitorDbContext(appSettings, entityMapper)) as IAdministrationBusinessObject);
        }
        public static IDashboardBusinessObject GetDashboardBusinessObject()
        {
            var appSettings = Options.Create(new AppSettings
            {
                ConnectionString = "server=(local);database=ServiceMonitor;integrated security=yes;MultipleActiveResultSets=True;"
            });

            var entityMapper = new ServiceMonitorEntityMapper() as IEntityMapper;

            return(new DashboardBusinessObject(new ServiceMonitorDbContext(appSettings, entityMapper)) as IDashboardBusinessObject);
        }