Ejemplo n.º 1
0
        public static ChartDateRange GetUserSetMaximumDataDateRange()
        {
            ChartDateRange chartDateRange = null;



            return(chartDateRange);
        }
Ejemplo n.º 2
0
        public ChartDateRange Get()
        {
            ChartDateRange chartDateRange = new ChartDateRange();


            ExerciseRecordsController exerciseRecordsController = new ExerciseRecordsController();

            chartDateRange.StartDate = exerciseRecordsController.GetExerciseRecords().Min(o => o.Date);
            chartDateRange.EndDate   = exerciseRecordsController.GetExerciseRecords().Max(o => o.Date);

            return(chartDateRange);
        }