예제 #1
0
 public ActionResult Index(GoogleData data)
 {
     if (!string.IsNullOrEmpty(data.Query) && !string.IsNullOrEmpty(data.SearchFor))
     {
         data.isResult = true;
         data.Result = GoogleJobs.SpawnSomeJobs(data.Query, data.SearchFor);
     }
     else
         data.isResult = false;
     return View(data);
 }
예제 #2
0
 public ActionResult Index(GoogleData data)
 {
     if (!string.IsNullOrEmpty(data.Query) && !string.IsNullOrEmpty(data.SearchFor))
     {
         data.isResult = true;
         data.Result   = GoogleJobs.SpawnSomeJobs(data.Query, data.SearchFor);
     }
     else
     {
         data.isResult = false;
     }
     return(View(data));
 }