Ejemplo n.º 1
0
        /// <summary>
        /// To EDIT Tribe
        /// </summary>
        /// <param name="TribeBOObj"></param>
        /// <returns></returns>
        public string EDITTribe(TribeBO TribeBOObj)
        {
            TribeDAL TribeDALObj = new TribeDAL();

            try
            {
                return(TribeDALObj.EDITTribe(TribeBOObj));
            }
            catch
            {
                throw;
            }
            finally
            {
                TribeDALObj = null;
            }
        }
Ejemplo n.º 2
0
        /// <summary>
        /// To Insert Into Tribe Master
        /// </summary>
        /// <param name="TribeBOObj"></param>
        /// <returns></returns>
        public string InsertIntoTribeMaster(TribeBO TribeBOObj)
        {
            TribeDAL TribeDALObj = new TribeDAL();

            try
            {
                return(TribeDALObj.InsertIntoTribeMaster(TribeBOObj));
            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            {
                TribeDALObj = null;
            }
        }
Ejemplo n.º 3
0
        /// <summary>
        /// To Delete Tribe By Id
        /// </summary>
        /// <param name="TribeID"></param>
        /// <returns></returns>
        public string DeleteTribeById(int TribeID)
        {
            TribeDAL TribeDALObj = new TribeDAL();

            return(TribeDALObj.DeleteTribeById(TribeID));
        }
Ejemplo n.º 4
0
        /// <summary>
        /// To Get Tribe By Id
        /// </summary>
        /// <param name="TribeID"></param>
        /// <returns></returns>
        public TribeBO GetTribeById(int TribeID)
        {
            TribeDAL TribeDALObj = new TribeDAL();

            return(TribeDALObj.GetTribeById(TribeID));
        }
Ejemplo n.º 5
0
        /// <summary>
        /// To Fetch Tribe List
        /// </summary>
        /// <returns></returns>
        public TribeList FetchTribeList()
        {
            TribeDAL TribeDALObj = new TribeDAL();

            return(TribeDALObj.FetchTribeList());
        }
Ejemplo n.º 6
0
        /// <summary>
        /// To Obsolete tribe
        /// </summary>
        /// <param name="TRIBEID"></param>
        /// <param name="IsDeleted"></param>
        /// <returns></returns>
        public string Obsoletetribe(int TRIBEID, string IsDeleted)
        {
            TribeDAL TribeDALObj = new TribeDAL();

            return(TribeDALObj.Obsoletetribe(TRIBEID, IsDeleted));
        }