Update constants for service reminder mileage deltas
This commit is contained in:
@@ -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
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user