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

            ActionTemplateVersion entity = new ActionTemplateVersion();

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

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

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

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

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

            await repository.Update(record);

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

            modifiedRecord.Should().NotBeNull();
        }