public ActionResult Invite()
 {
     objWebinarDashboardModel = new WebinarDashboardModel();
     objDecisionPointEngine   = new DecisionPointEngine();
     objWebinarDashboardModel.WebinarUsersList    = objDecisionPointEngine.getAllWebinarUsers(Convert.ToString(Session["CompanyId"], CultureInfo.InvariantCulture));
     objWebinarDashboardModel.UpcomingWebinarList = GetUpcomingWebinarList();
     ViewData.Model = objWebinarDashboardModel;
     return(View());
 }
 public ActionResult Invite(InvitePost str)
 {
     if (str != null)
     {
         for (int i = 0; i < str.Email.Count; i++)
         {
             RegisterUsers(str.Email[i], str.WebinarId[i], str.Fname[i], str.Lname[i]);
         }
     }
     objWebinarDashboardModel = new WebinarDashboardModel();
     objDecisionPointEngine   = new DecisionPointEngine();
     objWebinarDashboardModel.WebinarUsersList = objDecisionPointEngine.getAllWebinarUsers(Convert.ToString(Session["CompanyId"], CultureInfo.InvariantCulture));
     ViewData.Model = objWebinarDashboardModel;
     return(View());
 }