コード例 #1
0
        public ActionResult WriterProfile()
        {
            string p = (string)Session["Writermail"];

            writerid = wm.GetByMail(p).WriterId;
            var value = wm.GetById(writerid);

            return(View(value));
        }
コード例 #2
0
        // GET: WriterPanelContent

        public ActionResult MyContent(string p)
        {
            int id;

            p = (string)Session["Writermail"];
            var writerinfo = wm.GetByMail(p);

            id = writerinfo.WriterId;
            var value = cm.GetListByWriterId(id);

            return(View(value));
        }