public ActionResult Modify(int id)
        {
            var email = OperationContext.ServiceSession.EM_EmailInstancesService.Get(e => e.EmailInstanceID == id).SingleOrDefault();
            if (email == null)
            {
                email = new EM_EmailInstances();
                email.CampaignID = id;
            }

            return View(email.ToViewModel());
        }
 public ActionResult Add(int id)
 {
     var emailInstance = new EM_EmailInstances();
     emailInstance.CampaignID = id;
     return View(emailInstance.ToViewModel());
 }