Base solution for your next web application
Open Closed

UserManager is null ! #589


User avatar
0
behiunforgiven created

I Create a new class and derived from "XAppServiceBase", but when I want to use "UserManager" in that class, it is null !

public class GeneralAppService : IAUAppServiceBase
    {
        public string GetStateName(long userId)
        {
            //I want to use UserManage Here but it's null !
        }
    }

1 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    How do you inject it?