public static bool Delete(PrescriptionCD prescCd) { return(PrescriptionCdDAL.Delete(prescCd.CdId)); }
public static int UpdateByPresc(PrescriptionCD prescCd) { prescCd.PrescriptionId = PrescriptionCdDAL.UpdateByPresc(prescCd); return(prescCd.PrescriptionId); }
// public static List <PrescriptionCD> GetListByPrescription(int id) { return(PrescriptionCdDAL.GetListByPrescription(id)); }
public static int Insert(PrescriptionCD prescCd) { prescCd.CdId = PrescriptionCdDAL.Insert(prescCd); return(prescCd.PrescriptionId); }
public static PrescriptionCD GetByPrescId(int id) { return(PrescriptionCdDAL.GetItemByPrescId(id)); }