/// <summary> /// Backs the base.Ranges property /// </summary> /// <returns></returns> protected override List <IRange> GetAllRanges() { ICarProvider carProvider = new CarProvider(); return((ListOfRange)carProvider.GetRangesByManufacturerId(_id)); }
/// <summary> /// Get a CarManufacturer from a CARManId /// </summary> /// <param name="id"></param> /// <returns></returns> internal static ICarManufacturer FromId(int id) { ICarProvider carProvider = new CarProvider(); return(carProvider.GetManufacturerFromId(id)); }
/// <summary> /// Backs the base.Models property /// </summary> /// <returns></returns> protected override List <IModel> GetAllModels() { ICarProvider carProvider = new CarProvider(); return((ListOfModel)carProvider.GetModelsByManufacturerId(_id)); }