//Edit the data public string EDITCardType(CardTypeBO objCardType) { CardTypeDAL CardTypeDAl = new CardTypeDAL(); //Data pass -to Database Layer try { return(CardTypeDAl.EDITCardType(objCardType)); } catch { throw; } finally { CardTypeDAl = null; } }
public string ObsoleteCardType(int CardTypeID, string Isdeleted) { CardTypeDAL CardTypeDALObj = new CardTypeDAL(); return(CardTypeDALObj.ObsoleteCardType(CardTypeID, Isdeleted)); }
//Delete the data public string DeleteCardType(int CardTypeID) { CardTypeDAL CardTypeDALObj = new CardTypeDAL(); return(CardTypeDALObj.DeleteCardType(CardTypeID)); }
//Search the Singal Data by passing ID public CardTypeBO GetCardTypeById(int CardTypeID) { CardTypeDAL CardTypeDALObj = new CardTypeDAL(); return(CardTypeDALObj.GetCardTypeById(CardTypeID)); }
// serach the data from the Database Mst_CardType public CardTypeList GetCardType() { CardTypeDAL CardTypeDALObj = new CardTypeDAL(); return(CardTypeDALObj.GetCardType()); }