//UserRoleRepository UserRoleRepository { set; get; } //RoleAuthorityRepository RoleAuthorityRepository { set; get; } //RoleRepository RoleRepository { set; get; } /// <summary> /// /// </summary> public AccountService(APIContext apiContext) { APIContext = apiContext; FMPTDbContext = APIContext?.GetDBContext("FMPT"); Init(FMPTDbContext); }