Beispiel #1
0
        /// <summary>
        /// This method validate the passed Well against the business rules before passing it on to the persistance layer, see <see cref="ValidateWell(Well)"/>.
        /// This method also assign the Well to the appropriated group, see <see cref="AssignWellToGroup(Well)"/>.
        /// </summary>
        /// <param name="toAdd">The Well to be added</param>
        public void AddWell(Well toAdd)
        {
            AssignWellToGroup(toAdd);
            ValidateWell(toAdd);

            app.AddWell(toAdd);
        }