Пример #1
0
 public ActionResult Edit(SET_BOOK_BRAND_TYPE set_book_brand_type)
 {
     if (ModelState.IsValid)
     {
         db.SET_BOOK_BRAND_TYPE_UPDATE(set_book_brand_type.BOOK_BRAND_TYPE_NO,
                                       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));
 }