public async void Get()
        {
            Mock <ILogger <BusinessEntityContactRepository> > loggerMoc = BusinessEntityContactRepositoryMoc.GetLoggerMoc();
            ApplicationDbContext context = BusinessEntityContactRepositoryMoc.GetContext();
            var repository = new BusinessEntityContactRepository(loggerMoc.Object, context);

            BusinessEntityContact entity = new BusinessEntityContact();

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

            var record = await repository.Get(entity.BusinessEntityID);

            record.Should().NotBeNull();
        }
        public async void Update_Entity_Is_Tracked()
        {
            Mock <ILogger <BusinessEntityContactRepository> > loggerMoc = BusinessEntityContactRepositoryMoc.GetLoggerMoc();
            ApplicationDbContext context = BusinessEntityContactRepositoryMoc.GetContext();
            var repository = new BusinessEntityContactRepository(loggerMoc.Object, context);
            BusinessEntityContact entity = new BusinessEntityContact();

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

            var record = await repository.Get(entity.BusinessEntityID);

            await repository.Update(record);

            var modifiedRecord = context.Set <BusinessEntityContact>().FirstOrDefaultAsync();

            modifiedRecord.Should().NotBeNull();
        }