public static string GetCard(AzureDevOpsWorkItem workItem) { var filePath = $"Cards\\{typeof(BugCard).Name}.mustache"; var fileContentsWithMustachePlaceholders = File.ReadAllText(filePath); var compiler = new FormatCompiler(); var generator = compiler.Compile(fileContentsWithMustachePlaceholders); var processedCard = generator.Render(BugViewModel.CreateFrom(workItem)); return(processedCard); }