Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
Is there a better way to bind MediaService to IMediaService (Ninject, MVC) than that ugly hack?
kernel.Bind<IMediaService>().ToMethod(x => ApplicationContext.Current.Services.MediaService);
There is working IContentService and ContentService nice, but it is not for MediaService.
Cheers
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
IMediaService Bind To MediaService
Hi,
Is there a better way to bind MediaService to IMediaService (Ninject, MVC) than that ugly hack?
There is working IContentService and ContentService nice, but it is not for MediaService.
Cheers
is working on a reply...