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