public static bool CheckHuyApDung(this DM_THUOC_BV model) { if (model.HIEULUC == true && model.TRANGTHAI == 2) { return(true); } return(false); }
public static bool CheckApDung(this DM_THUOC_BV model) { if (model.KETQUA == 2 && (model.AX_CD == true || model.AX_TD == true) && model.HIEULUC != true) { return(true); } return(false); }