コード例 #1
0
 public ActionResult Wordpress(string code) 
 {
     Domain.Socioboard.Domain.User objUser = (Domain.Socioboard.Domain.User)Session["User"];
     string _WPcode = code;
     Api.Wordpress.Wordpress objApiWordpress = new Api.Wordpress.Wordpress();
     string add = objApiWordpress.AddWordpressAccount(_WPcode, objUser.Id.ToString(), Session["group"].ToString());
     return RedirectToAction("Index", "Home");
 }
コード例 #2
0
        public ActionResult Wordpress(string code)
        {
            Domain.Socioboard.Domain.User objUser = (Domain.Socioboard.Domain.User)Session["User"];
            string _WPcode = code;

            Api.Wordpress.Wordpress objApiWordpress = new Api.Wordpress.Wordpress();
            string add = objApiWordpress.AddWordpressAccount(_WPcode, objUser.Id.ToString(), Session["group"].ToString());

            return(RedirectToAction("Index", "Home"));
        }