/// <summary> /// Method to Insert StudentBank /// </summary> /// <param name="argEn">StudentBank Entity is an Input.</param> /// <returns>Returns Boolean</returns> public bool Insert(StudentBankEn argEn) { bool flag; using (TransactionScope ts = new TransactionScope()) { try { StudentBankDAL loDs = new StudentBankDAL(); flag = loDs.Insert(argEn); ts.Complete(); } catch (Exception ex) { throw ex; } } return(flag); }