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
 }
Exemplo 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
        }