public interface IAuthorizationManager : IDomainService
RequisitionConsumptionCenterStore requisitionConsumptionCenterStore, Status status);
public class AuthorizationManager : DomainService, IAuthorizationManager
public async Task<List<AuthorizationRole>> GetAutorizationRolesByRequisitionConsumptionCenterStore(
RequisitionConsumptionCenterStore requisitionConsumptionCenterStore, Status
On the other hand, I have an Event handler
public class RequisitionConsumptionCenterStoreNotifier :
Every time the the event (RequisitionConsumptionCenterStoreNotifier.NotifyOnRelease) is fired i got an "the operation cannot be completed because the DbContext has been disposed". I already tried marking the manager method as UnitOfWork, Marking the Handler method as UnitOfWork, managing unit of work manually with
"using (var uow = _unitOfWorkManager.Begin())"
I really do not know what to do, I think that is an unit of work problem. Im open to any suggestions.
Thanks in advance.