public static string Sua(MayBe canGap) { var mayBeLogic = new MayBeLogic(); var itemBDO = new MayBeBDO(); ChuyenDoiEpKimDTOThanhBDO(canGap, itemBDO); return(mayBeLogic.Sua(itemBDO)); }
public static string Them(MayBe mayBe) { var mayBeLogic = new MayBeLogic(); var itemBDO = new MayBeBDO(); ChuyenDoiEpKimDTOThanhBDO(mayBe, itemBDO); return(mayBeLogic.Them(itemBDO)); }
public GiaBe(int soLuong, MayBe mayBe, KhuonBe khuonBe, int tyLeMarkUpSales) { this.SoLuong = soLuong; this.MayBe = mayBe; this.KhuonBe = khuonBe; this.TyLeMarkUp = tyLeMarkUpSales; }
private static void ChuyenDoiEpKimDTOThanhBDO(MayBe epKimDTO, MayBeBDO epKimBDO) { epKimBDO.ID = epKimDTO.ID; epKimBDO.Ten = epKimDTO.Ten; epKimBDO.BHR = epKimDTO.BHR; epKimBDO.TocDoTamGio = epKimDTO.TocDoTamGio; epKimBDO.ThoiGianChuanBi = epKimDTO.ThoiGianChuanBi; epKimBDO.PhiNguyenVatLieuChuanBi = epKimDTO.PhiNVLChuanBi; epKimBDO.DayLoiNhuan = epKimDTO.DayLoiNhuan; epKimBDO.DaySoLuong = epKimDTO.DaySoLuong; epKimBDO.Ma_01 = epKimDTO.Ma_01; epKimBDO.DonViTinh = epKimDTO.DonViTinh; epKimBDO.DaySoLuongNiemYet = epKimDTO.DaySoLuongNiemYet; epKimBDO.ThuTu = epKimDTO.ThuTu; }
public static MayBe DocTheoId(int iD) { var mayBeLogic = new MayBeLogic();; MayBe mayBe = new MayBe(); try { var canPhuBDO = mayBeLogic.DocTheoId(iD); //Chuyen ChuyenDoiEpKimBDOThanhDTO(canPhuBDO, mayBe); } catch { } return(mayBe); }