public ResponseBase Delete(int authorCod) { ResponseBase response = new ResponseBase(); try { response.Success = _appService.Delete(authorCod); } catch (LibraryException ex) { response.Message = ex.Message; } catch (Exception ex) { throw ex; } return(response); }