Пример #1
0
        /// <summary>
        /// This function will have the business logic for adding a row in SQL table
        /// </summary>
        /// <param name="stddto">A StudentDTO object with values to be added</param>
        /// <returns>Primary Key of the inserted row</returns>
        public int AddBL(StudentDTO stddto)
        {
            Student std    = mapper.ToModelObj(stddto);
            int     result = stddal.AddDL(std);

            return(result);
        }