public string GetInformationBenhNhan(QLPHONGKHAMEntities db, string MaBenhNhan, out BenhNhanDTO InformationBenhNhan) { InformationBenhNhan = new BenhNhanDTO(); BENHNHAN entity = null; object[] id = { MaBenhNhan }; if (benhNhanDao.FindById(db, id, out entity) == Constant.RES_FAI) { return(Constant.RES_FAI); } if (entity == null) { return(Constant.RES_FAI); } BUS.Com.Utils.CopyPropertiesFrom(entity, InformationBenhNhan); return(Constant.RES_SUC); }