public async Task <CommandResult <UpstreamObjectDetailsDto> > GetObjectDetails()
 {
     return(await _responseProcessor.CreateAndProcess <UpstreamObjectDetailsDto>(HttpMethod.Get, $"{_configs["Servers:Catalog"]}/api/object/details", "CATALOG.OBJECT.DETAILS.ERROR"));
 }
Beispiel #2
0
 public async Task <CommandResult <UpstreamCommentListDto> > GetComments()
 {
     return(await _responseProcessor.CreateAndProcess <UpstreamCommentListDto>(HttpMethod.Get,
                                                                               $"{_configs["Services:Catalog"]}/api/object/comment/forObject",
                                                                               "CATALOG.OBJECT.COMMENT.LIST.ERROR"));
 }