Exemplo n.º 1
0
        public static void FindAds(string query, string location, AdType type)
        {
            var ads = AdController.FindAds(location, query, type);

            HomeForm.LoadAds(ads.ToShortAdUcList());
        }
Exemplo n.º 2
0
 public static void ViewAd(string id)
 {
     AdForm?.Close();
     AdForm = new AdForm(AdController.GetAd(id));
     AdForm.Show();
 }