예제 #1
0
        public ActionResult Index()
        {
            var model = new COCAUGIA_DICHVU();

            model.Filter = new COCAUGIA_DICHVU_FILTER();
            try
            {
            }
            catch (Exception e)
            {
                log.ErrorFormat("Index - message: {0}{1} - {2}", e.Message, Environment.NewLine, e.StackTrace);
            }
            return(View(model));
        }
        public ActionResult Index()
        {
            var model = new COCAUGIA_DICHVU();

            model.Filter = new COCAUGIA_DICHVU_FILTER();
            Session["_GridViewDanhSachDichVuPartial"] = null;
            Session["_GridViewChiTietDichVuPartial"]  = null;
            try
            {
            }
            catch (Exception e)
            {
                log.ErrorFormat("Index - message: {0}{1} - {2}", e.Message, Environment.NewLine, e.StackTrace);
            }
            return(View(model));
        }
        public ActionResult Index(int id)
        {
            var model = new COCAUGIA_DICHVU();

            model.Filter = new COCAUGIA_DICHVU_FILTER();
            Session["_GridViewDanhSachDichVuPartial"] = null;
            Session["_GridViewChiTietDichVuPartial"]  = null;
            try
            {
                var data = _ICOCAUGIA_DICHVU21Service.Getbykey(id);
                Session["idDichVu"] = id;
                ViewData["TEN_DV"]  = data.TEN_DICHVU21;
                ViewData["MA_DV"]   = data.MA_DICHVU21;
            }
            catch (Exception e)
            {
                log.ErrorFormat("Index - message: {0}{1} - {2}", e.Message, Environment.NewLine, e.StackTrace);
            }
            return(View(model));
        }