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