public static void Create(CustomTable t) { IndexViewBuilder ourGeneratedFile = new IndexViewBuilder(t); string templatefile = FileManager.ReadingTextFile(AppDomain.CurrentDomain.BaseDirectory + "Resources/Views/Index.cshtml"); string genratedCode = ourGeneratedFile.Prepare(templatefile); FileManager.SaveFile(".cshtml", ourGeneratedFile.CurrentTable.PathOfIndexView, genratedCode); }