Update constants for service reminder mileage deltas

This commit is contained in:
2015-11-03 22:55:54 -05:00
parent abbbfe1a2d
commit 5651c2876d
3 changed files with 8 additions and 5 deletions
+4 -1
View File
@@ -978,7 +978,7 @@ namespace MileageTraker.Web.DAL
public IQueryable<ServiceReminder> GetUpcomingServiceReminders()
{
const int mileageThreshold = 500;
const int mileageThreshold = ServiceReminderUpcomingMileageThreshold;
return
from sr in _db.ServiceReminders
where
@@ -987,6 +987,9 @@ namespace MileageTraker.Web.DAL
select sr;
}
public const int ServiceReminderDefaultMileageDelta = 5000;
public const int ServiceReminderUpcomingMileageThreshold = 300;
#endregion
}