Exemple #1
0
        public ActionResult Create(SET_BOOK_BRAND_TYPE set_book_brand_type)
        {
            if (ModelState.IsValid)
            {
                db.SET_BOOK_BRAND_TYPE_INSERT(
                    decimal.Parse(Session["sess_USER_NO"].ToString()),
                    decimal.Parse(Session["sess_LOGON_NO"].ToString()),
                    set_book_brand_type.BOOK_BRAND_TYPE_NAME,
                    set_book_brand_type.BOOK_BRAND_TYPE_DESC,
                    set_book_brand_type.IS_ACTIVE,
                    set_book_brand_type.ACTIVE_FROM,
                    set_book_brand_type.ACTIVE_TO,
                    set_book_brand_type.SL_NUM);
                return(RedirectToAction("Index"));
            }

            return(View(set_book_brand_type));
        }