public ActionResult RulesActivate(int rulesId, int companyId, int userId) { var res = Rules.Activate(rulesId, string.Empty, companyId, userId); if (res.Success) { Session["Company"] = new Company(companyId); } return(res); }
public ActionResult RulesActivate(int rulesId, int companyId, int userId) { var res = Rules.Activate(rulesId, string.Empty, companyId, userId); if (res.Success) { Session["Company"] = new Company(companyId); } return(res); }