Пример #1
0
        public IEnumerable <AppointmentViewModel> GetSnapshot(TransactionalKanbanContext context)
        {
            AppointmentRepository appointment = new AppointmentRepository(context);

            return(appointment.GetAllAppointmentsSimple().ToArray());
        }
Пример #2
0
        public IEnumerable <UserKanbanViewModel> GetSnapshot(TransactionalKanbanContext context)
        {
            UserRepository user = new UserRepository(context);

            return(user.GetAllUsers().ToArray());
        }
Пример #3
0
        public IEnumerable <MetricViewModel> GetSnapshot(TransactionalKanbanContext context)
        {
            MetricRepository metrics = new MetricRepository(context);

            return(metrics.GetAllMetrics());
        }
Пример #4
0
        public IEnumerable <ActivityViewModel> GetSnapshot(TransactionalKanbanContext context)
        {
            ActivityRepository activiy = new ActivityRepository(context);

            return(activiy.GetAllActivities().ToArray());
        }
Пример #5
0
        public static TransactionalKanbanContext GetTransactionContext()
        {
            string connectionString = GetConnectionString();

            return(TransactionalKanbanContext.Create(connectionString));
        }
Пример #6
0
        public IEnumerable <FiscalYearViewModel> GetSnapshot(TransactionalKanbanContext context)
        {
            FiscalYearRepository fiscalYear = new FiscalYearRepository(context);

            return(fiscalYear.GetAllFiscalYears().ToArray());
        }
Пример #7
0
        public IEnumerable <WorkloadViewModel> GetSnapshot(TransactionalKanbanContext context)
        {
            WorkloadRepository workload = new WorkloadRepository(context);

            return(workload.GetAllWorkloads().ToArray());
        }
Пример #8
0
        public IEnumerable <TechnologyViewModel> GetSnapshot(TransactionalKanbanContext context)
        {
            TechnologyRepository technology = new TechnologyRepository(context);

            return(technology.GetAllTechnologies().ToArray());
        }