public async Task <IActionResult> RegistrationLevel() { RegistrationLevelViewModel model = new RegistrationLevelViewModel { registrationLevels = await lostAndFoundType.GetRegistrationLevel() }; return(View(model)); }
public async Task <VehicleMasterDataAPIModel> GetVehicleMasterData() { VehicleMasterDataAPIModel model = new VehicleMasterDataAPIModel { //vehicleTypes = await lostAndFoundType.GetVehicleTypes(), vehicleModels = await lostAndFoundType.GetVehicleModel(), registrationLevels = await lostAndFoundType.GetRegistrationLevel(), metropolitanAreas = await lostAndFoundType.GetMetropolitanArea(), //colors = await lostAndFoundType.GetColors(), //districts =await addressService.GetAllDistrict(), //thanas=await addressService.GetAllThana(), //nationalIdentityTypes=await lostAndFoundType.GetNationalIdentityTypes() }; return(model); }
public async Task <IEnumerable <RegistrationLevel> > GetAllRegistrationLevel() { var registrationLevels = await lostAndFoundType.GetRegistrationLevel(); return(registrationLevels); }