public ActionResult Edit(Newsletter newsletter) { if (ModelState.IsValid) { NewsletterServices.SaveEntity(newsletter); return(RedirectToAction("Index")); } return(View(newsletter)); }
private void NewsletterInProcess(Newsletter newsletter, bool state) { newsletter.InProcess = state; NewsletterServices.SaveEntity(newsletter); }