public GenericEntityFactory(SimpleEventStoreDbContext context)
 {
     _context = context;
 }
        public static async Task <TAggregate> GetEntityAsync(SimpleEventStoreDbContext context, string entityId)
        {
            var factory = new GenericEntityFactory <TAggregate>(context);

            return(await factory.GetEntityAsync(entityId));
        }