public FilterViewModel() { businessLayer = new EFBusinessLogicLayer(); MinimumLimit = businessLayer.GetPriceLimit(true); MaximumLimit = businessLayer.GetPriceLimit(false); }
public FilterViewModel(IBusinessLogicLayer businessLayerParam) { businessLayer = businessLayerParam; MinimumLimit = businessLayer.GetPriceLimit(true); MaximumLimit = businessLayer.GetPriceLimit(false); }