public void OnGet() { var obj = ExternalSource.MakeRequest("Blade+Runner", 2017); Message = obj.Title; }
public JsonResult OnGetFetchMovie(string title, int year) { var obj = ExternalSource.MakeRequest(title, year); return(new JsonResult(obj)); }
public void OnGet() { var obj = ExternalSource.MakeRequest("Blade+Runner", 2017); Message = obj.Title; }
public JsonResult OnGetFetchMovie(string title, int year) { var obj = ExternalSource.MakeRequest(title, year); return(new JsonResult(obj)); }