Exemple #1
0
        public async Task <IActionResult> MetropolitanArea()
        {
            MetropolitanAreaViewModel model = new MetropolitanAreaViewModel
            {
                metropolitanAreas = await lostAndFoundType.GetMetropolitanArea()
            };

            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 <MetropolitanArea> > GetAllMetropolitanArea()
        {
            var metropolitanAreas = await lostAndFoundType.GetMetropolitanArea();

            return(metropolitanAreas);
        }