public async void All()
        {
            Mock <ILogger <TicketRepository> > loggerMoc = TicketRepositoryMoc.GetLoggerMoc();
            ApplicationDbContext context = TicketRepositoryMoc.GetContext();
            var repository = new TicketRepository(loggerMoc.Object, context);
            var records    = await repository.All();

            records.Should().NotBeEmpty();
            records.Count.Should().Be(1);
        }
        public async void All()
        {
            Mock <ILogger <TicketRepository> > loggerMoc = TicketRepositoryMoc.GetLoggerMoc();
            ApplicationDbContext context = TicketRepositoryMoc.GetContext();
            var repository = new TicketRepository(loggerMoc.Object, context);

            Ticket entity = new Ticket();

            context.Set <Ticket>().Add(entity);
            await context.SaveChangesAsync();

            var record = await repository.All();

            record.Should().NotBeEmpty();
        }