public UnitOfWork(EcommerceContext context, IDomainEventsDispatcher dispatcher) { _context = context; _dispatcher = dispatcher; }