C# Class Microsoft.Research.DataOnboarding.WebApi.Api.PublishController

Posts the publish message to queue.
Inheritance: ApiController
Exibir arquivo Open project: CDLUC3/dataup2

Public Methods

Method Description
PublishController ( IPublishQueueService publishQueueService, IUserService userService, IRepositoryService repositoryService, IFileServiceFactory fileServiceFactory ) : Microsoft.Research.DataOnboarding.DomainModel

Instantiates the PublishController

Private Methods

Method Description
Publish ( PublishMessage publishMessage ) : HttpResponseMessage
Publish ( string nameIdentifier, int fileId, string repositoryName ) : HttpResponseMessage

Method Details

PublishController() public method

Instantiates the PublishController
public PublishController ( IPublishQueueService publishQueueService, IUserService userService, IRepositoryService repositoryService, IFileServiceFactory fileServiceFactory ) : Microsoft.Research.DataOnboarding.DomainModel
publishQueueService IPublishQueueService
userService IUserService
repositoryService IRepositoryService
fileServiceFactory IFileServiceFactory
return Microsoft.Research.DataOnboarding.DomainModel