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)); }
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)); }
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)); }