public HomeController() { advertDb = new AdvertDb(); }
{//html - kods, kas nosaka kopējo lapas dizainu // GET: Home public HomeController() { advertDb = new AdvertDb(); //izsauc konstruktoru, kas uztaisa datubāzi }
public HomeController() { advertDb = new AdvertDb(); }
{//html - kods, kas nosaka kopējo lapas dizainu // GET: Home public HomeController() { advertDb = new AdvertDb(); //izsauc konstruktoru, kas uztaisa datubāzi }