/// <summary>
 /// Creates the entity repository.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <returns>The entity repository</returns>
 public static EntityRepository <TEntity> Create(SeatBookingContext context)
 {
     return(new EntityRepository <TEntity>(context));
 }
 /// <summary>
 /// The entity repository
 /// </summary>
 /// <param name="context"></param>
 public EntityRepository(SeatBookingContext context)
 {
     lazyDbContext = new Lazy <SeatBookingContext>(() => context);
 }