/// <summary> /// Method to Get List of FeeCharges /// </summary> /// <param name="argEn">FeeCharges Entity is an Input.FTCode is an Input Property</param> /// <returns>Returns List of FeeCharges</returns> public List <KokoEn> Getkokobaru(FeeChargesEn argEn) { try { FeeChargesDAL loDs = new FeeChargesDAL(); return(loDs.Getkokobaru(argEn)); } catch (Exception ex) { throw ex; } }
/// <summary> /// Method to Get FeeCharges Entity /// </summary> /// <param name="argEn">FeeCharges Entity is an Input</param> /// <returns>Returns FeeCharges Entity</returns> public FeeChargesEn GetItem(FeeChargesEn argEn) { try { FeeChargesDAL loDs = new FeeChargesDAL(); return(loDs.GetItem(argEn)); } catch (Exception ex) { throw ex; } }
/// <summary> /// Method to Insert FeeCharges /// </summary> /// <param name="argEn">FeeCharges Entity is an Input.</param> /// <returns>Returns Boolean</returns> public bool Insert(FeeChargesEn argEn) { bool flag; using (TransactionScope ts = new TransactionScope()) { try { FeeChargesDAL loDs = new FeeChargesDAL(); flag = loDs.Insert(argEn); ts.Complete(); } catch (Exception ex) { throw ex; } } return(flag); }
///// <summary> ///// Method to Update FeeCharges ///// </summary> ///// <param name="argEn">FeeCharges Entity is an Input.</param> ///// <returns>Returns Boolean</returns> //public bool UpdateKokoDetails(FeeChargesEn argEn) //{ // bool flag; // using (TransactionScope ts = new TransactionScope()) // { // try // { // FeeChargesDAL loDs = new FeeChargesDAL(); // flag = loDs.UpdateKokoDetails(argEn); // ts.Complete(); // } // catch (Exception ex) // { // throw ex; // } // } // return flag; //} /// <summary> /// Method to Update FeeCharges /// </summary> /// <param name="argEn">FeeCharges Entity is an Input.</param> /// <returns>Returns Boolean</returns> public bool UpdateKokoDetails(KokoEn argEn) { bool flag; using (TransactionScope ts = new TransactionScope()) { try { FeeChargesDAL loDs = new FeeChargesDAL(); flag = loDs.UpdateKokoDetails(argEn); ts.Complete(); } catch (Exception ex) { throw ex; } } return(flag); }