예제 #1
0
        /// <summary>
        /// Save infomation
        /// </summary>
        /// <param name="inputObject">DataModel</param>
        /// <returns>DataModel</returns>
        private SaveDataModel SaveInfo(SaveDataModel inputObject)
        {
            // Local variable declaration
            SaveDataModel saveResult = null;
            AdminOfferEntryDao adminOfferEntryDao = null;

            // Variable initialize
            saveResult = new SaveDataModel();
            adminOfferEntryDao = new AdminOfferEntryDao();

            // Insert data
            adminOfferEntryDao.InsertOffer(inputObject);

            return saveResult;
        }