private static InsulinCalculationFactors GetFactors(this SmsModel sms)
 {
     var repo = new InslinCacluationFactorsRepository();
     return repo[sms.DateSent.AddHours(-5)]; //moving from UTC to "central" time.  This is temp until timezone features are figured out
 }
Esempio n. 2
0
        private static InsulinCalculationFactors GetFactors(this SmsModel sms)
        {
            var repo = new InslinCacluationFactorsRepository();

            return(repo[sms.DateSent.AddHours(-5)]); //moving from UTC to "central" time.  This is temp until timezone features are figured out
        }