Exemplo n.º 1
0
 private void NewsletterInProcess(Newsletter newsletter, bool state)
 {
     newsletter.InProcess = state;
     NewsletterServices.SaveEntity(newsletter);
 }
Exemplo n.º 2
0
 public ActionResult Edit(Newsletter newsletter)
 {
     if (ModelState.IsValid)
     {
         NewsletterServices.SaveEntity(newsletter);
         return RedirectToAction("Index");
     }
     return View(newsletter);
 }
Exemplo n.º 3
0
 public void SetNewsletter(Newsletter newsletter)
 {
     this.NewsletterId = newsletter.NewsletterId;
     this.Newsletter   = newsletter;
 }
Exemplo n.º 4
0
 public void SetNewsletter(Newsletter newsletter)
 {
     this.NewsletterId = newsletter.NewsletterId;
     this.Newsletter = newsletter;
 }