コード例 #1
0
 public ServiceController(
     IApprovePostServiceCommand approvePostServiceCommand,
     IConfirmPostService confirmPostService,
     IDeleteServiceFromProviderCommand deleteServiceFromProviderCommand,
     IDeleteServiceFromUserCommand deleteServiceFromUserCommand,
     IFilterAllPagingPostServiceQuery filterAllPagingPostServiceQuery,
     IGetAllPagingPostServiceQuery getAllPagingPostServiceQuery,
     IGetAllPostUserServiceByUserIdQuery getAllPostUserServiceByUserIdQuery,
     IGetPostServiceByIdQuery getPostServiceByIdQuery,
     IRegisterServiceFromProviderCommand registerServiceFromProviderCommand,
     IRegisterServiceFromUserCommand registerServiceFromUserCommand,
     IRejectPostServiceCommand rejectPostServiceCommand,
     IUpdatePostServiceCommand updatePostServiceCommand,
     IFilterAllPagingLocationPostService filterAllPagingLocationPostService)
 {
     _approvePostServiceCommand          = approvePostServiceCommand;
     _confirmPostService                 = confirmPostService;
     _deleteServiceFromProviderCommand   = deleteServiceFromProviderCommand;
     _deleteServiceFromUserCommand       = deleteServiceFromUserCommand;
     _filterAllPagingPostServiceQuery    = filterAllPagingPostServiceQuery;
     _getAllPagingPostServiceQuery       = getAllPagingPostServiceQuery;
     _getAllPostUserServiceByUserIdQuery = getAllPostUserServiceByUserIdQuery;
     _getPostServiceByIdQuery            = getPostServiceByIdQuery;
     _registerServiceFromProviderCommand = registerServiceFromProviderCommand;
     _registerServiceFromUserCommand     = registerServiceFromUserCommand;
     _rejectPostServiceCommand           = rejectPostServiceCommand;
     _updatePostServiceCommand           = updatePostServiceCommand;
     _filterAllPagingLocationPostService = filterAllPagingLocationPostService;
 }
コード例 #2
0
 public FilterAllPagingLocationPostService(IFilterAllPagingPostServiceQuery filterAllPagingPostServiceQuery)
 {
     _filterAllPagingPostServiceQuery = filterAllPagingPostServiceQuery;
 }