public void ActionAdd(ModImagesProductModel model)
        {
            if (model.RecordID > 0)
            {
                entity = ModImagesProductService.Instance.GetByID(model.RecordID);

                // khoi tao gia tri mac dinh khi update
            }
            else
            {
                entity = new ModImagesProductEntity();

                // khoi tao gia tri mac dinh khi insert
            }

            ViewBag.Data  = entity;
            ViewBag.Model = model;
        }
        public void ActionAdd(ModImagesProductModel model)
        {
            if (model.RecordID > 0)
            {
                entity = ModImagesProductService.Instance.GetByID(model.RecordID);

                // khoi tao gia tri mac dinh khi update
            }
            else
            {
                entity = new ModImagesProductEntity();

                // khoi tao gia tri mac dinh khi insert
            }

            ViewBag.Data = entity;
            ViewBag.Model = model;
        }