public IActionResult AddComicToCollection(CreateComicCollectionDto input) { try { var dto = _service.AddComicToCollection(input); return(Ok(dto)); } catch (AppException ex) { // return error message if there was an exception return(BadRequest(new { message = ex.Message })); } }