Exemplo n.º 1
0
 public ActionResult ShowAreaLocations(int id)
 {
     LocationViewModel locationViewModel = new LocationViewModel();
     AreaService _areaService = new AreaService();
     locationViewModel.AreaTerm = _areaService.FindOne(id).area_swe;
     locationViewModel.SearchResult = this._locationService.LocationsByArea(id);
     return View("Index", locationViewModel);
 }
Exemplo n.º 2
0
 public AreaController()
 {
     this._areaService = new AreaService();
 }