Example #1
0
        public int AddInquiry(Models.DomainModels.Inquiry inquiry)
        {
            inquiryRepository.Add(inquiry);
            inquiryRepository.SaveChanges();

            return(inquiry.InquiryID); // If Exception occurs this line will not be executed
        }