public HomePageSteps(Driver driver) { myDriver = driver; homePage = new HomePage(myDriver.WebDriver); blogPage = new Blogpage(myDriver.WebDriver); socialMedia = new SocialMediaPage(myDriver.WebDriver); }
public IActionResult Edit(Blogpage model) { if (ModelState.IsValid) { _blogpageService.Update(model); TempData.Put("message", new ResultMessage() { Title = "Bildirim", Message = "Blog Sayfası başarıyla güncellendi.", Css = "success" }); return(RedirectToAction("Index")); } return(View(model)); }
public IActionResult Create(Blogpage entity) { if (ModelState.IsValid) { _blogpageService.Create(entity); TempData.Put("message", new ResultMessage() { Title = "Bildirim", Message = "Blog Sayfası başarıyla oluşturuldu.", Css = "success" }); return(RedirectToAction("Index")); } return(View(entity)); }
public void Update(Blogpage entity) { _blogpageDal.Update(entity); }
public void Delete(Blogpage entity) { _blogpageDal.Delete(entity); }
public void Create(Blogpage entity) { _blogpageDal.Create(entity); }