Exemple #1
0
        public virtual BookSaveResponse Populate(BookSaveRequest book)
        {
            try
            {
                _bookBusiness.SaveBook(book.Value);

                return(new BookSaveResponse
                {
                    Success = true
                });
            }
            catch (System.Exception ex)
            {
                return(new BookSaveResponse
                {
                    Exception = ex
                });
            }
        }