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

            WorkOrderRouting entity = new WorkOrderRouting();

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

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

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

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

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

            await repository.Update(record);

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

            modifiedRecord.Should().NotBeNull();
        }