hi Mohammad
Can you try this:
using (var uow = _unitOfWorkManager.Begin()
{
var client = await clientCredentialRepository.SingleOrDefaultAsync(x => x.ClientId == client_id);
await uow.CompleteAsync();
}
hi Mohammad
Please create a new question, Thanks
hi
There are self-referencing properties in the JToken class, which can cause infinite recursion in some cases.
I suggest you create a new class instead of using it in input and output DTO.
hi
I guess the JToken
cause the problem.
You can create another class and convert the Item
to yours.
https://github.com/chargebee/chargebee-dotnet/blob/master/ChargeBee/Models/Item.cs#L156
hi
Can you share the code of Item
?
https://github.com/abpframework/abp/pull/9750
virtual
in SeedAsync
method.[UnitOfWork]
public virtual async Task SeedAsync(DataSeedContext context)
eventData.Entity.TenantId
to create new rolevar newRole = new IdentityRole(guidGenerator.Create(), RolesDemoConstants.SelfServiceTenantClientRole, eventData.Entity.TenantId) { IsPublic = true, IsStatic = true };