public void createlist(string listname)
 {
     Business.DataLayer datalayer = new Business.DataLayer();
     datalayer.CreateMailinglist(listname, Session["companyid"].ToString(), Session["usertoken"].ToString());
 }
 public void createlist(string listname)
 {
     Business.DataLayer datalayer = new Business.DataLayer();
     datalayer.CreateMailinglist(listname, Session["companyid"].ToString(), Session["usertoken"].ToString());
 }
 public ActionResult Create(UI.Models.Mailinglist mailist)
 {
     Business.DataLayer datalayer = new Business.DataLayer();
     datalayer.CreateMailinglist(mailist.title, Session["companyid"].ToString(), Session["usertoken"].ToString());
     return RedirectToAction("index");
 }
 public ActionResult Create(UI.Models.Mailinglist mailist)
 {
     Business.DataLayer datalayer = new Business.DataLayer();
     datalayer.CreateMailinglist(mailist.title, Session["companyid"].ToString(), Session["usertoken"].ToString());
     return(RedirectToAction("index"));
 }