public ChiaSeTaiLieuBO GetBO(int?id) { var find = this.Find(id); if (find == null) { return(new ChiaSeTaiLieuBO()); } var result = new ChiaSeTaiLieuBO(); result.DATE_CHIA_SE = find.DATE_CHIA_SE; result.DATE_PHE_DUYET = find.DATE_PHE_DUYET; result.DATE_YEU_CAU = find.DATE_YEU_CAU; result.ID = find.ID; result.NOIDUNG_CHIASE = find.NOIDUNG_CHIASE; result.NOIDUNG_PHEDUYET = find.NOIDUNG_PHEDUYET; result.NOIDUNG_YEUCAU = find.NOIDUNG_YEUCAU; result.STATUS = find.STATUS; result.TIEUDE = find.TIEUDE; result.USER_CHIA_SE = find.USER_CHIA_SE; result.USER_PHE_DUYET = find.USER_PHE_DUYET; result.USER_YEU_CAU = find.USER_YEU_CAU; var NguoiDungBusiness = new DM_NGUOIDUNGBusiness(new UnitOfWork()); result.USER_NAME_CHIA_SE = NguoiDungBusiness.GetName(find.USER_CHIA_SE); result.USER_NAME_PHE_DUYET = NguoiDungBusiness.GetName(find.USER_PHE_DUYET); result.USER_NAME_YEU_CAU = NguoiDungBusiness.GetName(find.USER_YEU_CAU); return(result); }