Begin adding fluxnet site autocomplete
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System.Web.Mvc;
|
||||
using LeafWeb.Core.DAL;
|
||||
|
||||
namespace LeafWeb.Web.Controllers
|
||||
{
|
||||
public class FluxnetSiteController : ControllerBase
|
||||
{
|
||||
public JsonResult Autocomplete(string term)
|
||||
{
|
||||
var cities = DataService.GetFluxnetSitesAutocomplete(term);
|
||||
return Json(cities, JsonRequestBehavior.AllowGet);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user