Exemple #1
0
        public async Task <PrintingEdition> GetPrintingEditionByIdAsync(long id)
        {
            if (id <= default(long))
            {
                throw new ServerException(Constants.Errors.PRINTING_EDITION_NOT_FOUND);
            }

            var printingEdition = await _printingEditionRepository.GetPrintingEditionByIdAsync(id);

            return(printingEdition);
        }