コード例 #1
0
ファイル: CardTypeBLL.cs プロジェクト: abigabaw/wis
        //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;
            }
        }
コード例 #2
0
ファイル: CardTypeBLL.cs プロジェクト: abigabaw/wis
        public string ObsoleteCardType(int CardTypeID, string Isdeleted)
        {
            CardTypeDAL CardTypeDALObj = new CardTypeDAL();

            return(CardTypeDALObj.ObsoleteCardType(CardTypeID, Isdeleted));
        }
コード例 #3
0
ファイル: CardTypeBLL.cs プロジェクト: abigabaw/wis
        //Delete the data
        public string DeleteCardType(int CardTypeID)
        {
            CardTypeDAL CardTypeDALObj = new CardTypeDAL();

            return(CardTypeDALObj.DeleteCardType(CardTypeID));
        }
コード例 #4
0
ファイル: CardTypeBLL.cs プロジェクト: abigabaw/wis
        //Search the Singal Data by passing ID
        public CardTypeBO GetCardTypeById(int CardTypeID)
        {
            CardTypeDAL CardTypeDALObj = new CardTypeDAL();

            return(CardTypeDALObj.GetCardTypeById(CardTypeID));
        }
コード例 #5
0
ファイル: CardTypeBLL.cs プロジェクト: abigabaw/wis
        // serach the data from the Database Mst_CardType
        public CardTypeList GetCardType()
        {
            CardTypeDAL CardTypeDALObj = new CardTypeDAL();

            return(CardTypeDALObj.GetCardType());
        }