Esempio n. 1
0
        public PartialViewResult DetailShare(int?id = 0)
        {
            ChiaSeTaiLieuBusiness = Get <ChiaSeTaiLieuBusiness>();
            var model = new ShareApproveFormModel();

            model.Share = new ChiaSeTaiLieuBO();
            model.Share = ChiaSeTaiLieuBusiness.GetBO(id);
            return(PartialView("_DetailShare", model));
        }
Esempio n. 2
0
        public PartialViewResult FormShare(int?id = 0)
        {
            ChiaSeTaiLieuBusiness = Get <ChiaSeTaiLieuBusiness>();
            var model = new ShareApproveFormModel();

            model.Share = new ChiaSeTaiLieuBO();
            model.Share = ChiaSeTaiLieuBusiness.GetBO(id);
            model.Share.DATE_CHIA_SE = DateTime.Now;
            return(PartialView("_FormShare", model));
        }
Esempio n. 3
0
        public PartialViewResult FormApprove(int?id = 0)
        {
            ChiaSeTaiLieuBusiness = Get <ChiaSeTaiLieuBusiness>();
            DM_NGUOIDUNGBusiness  = Get <DM_NGUOIDUNGBusiness>();
            var model = new ShareApproveFormModel();

            model.Share = new ChiaSeTaiLieuBO();
            model.Share = ChiaSeTaiLieuBusiness.GetBO(id);
            model.Share.DATE_PHE_DUYET = DateTime.Now;
            model.ListUser             = DM_NGUOIDUNGBusiness.GetByRole(ConfigurationManager.AppSettings["RoleShare"], user.ID);
            return(PartialView("_FormApprove", model));
        }