コード例 #1
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
 }
コード例 #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
        }