コード例 #1
0
        public PartialViewResult ShowDetailPtv(int id)
        {
            var ctx     = new SmsContext();
            var theList = ctx.SP_GET_EXPORT_DETAIL_BY_ID(id).ToList <SP_GET_EXPORT_DETAIL_BY_ID_Result>();
            ExportedDetailModel model = new ExportedDetailModel();

            model.thelist = theList;
            return(PartialView("ShowDetailPtv", model));
        }
コード例 #2
0
        public ActionResult ShowDetail(int id, int?flg)
        {
            ExportedDetailModel model = new ExportedDetailModel();

            model.flg = (int)flg;
            var ctx     = new SmsContext();
            var theList = ctx.SP_GET_EXPORT_DETAIL_BY_ID(id).ToList <SP_GET_EXPORT_DETAIL_BY_ID_Result>();

            model.thelist = theList;
            return(View(model));
        }