#Upgrade 8 to 10. How do we access services now? (MemberService specifically)
1 messages · Page 1 of 1 (latest)
You can now use @inject within views so you can do @inject IMemeberSerivce
Dependency injection - something like this: https://docs.umbraco.com/umbraco-cms/reference/using-ioc#umbracohelper
But instead of requesting a IUmbracoHelperAccessor you ask for a IMemberService.
Ah yes as Matt says, you can also use @inject in your views.
Amazing thank you very much for the info guys. I will give that a blast 😄 none of us have worked with upgrading Umbaco before so it's very much appreciated
@lost tartan May I suggest “Umbracians” instead of "guys"? We use gender inclusive language in this Discord. 😀