protected void GenerateCSfiles() { var cmd = new GenerateCSharpCodeCommand(repository); cmd.Execute(); }
private void btnCsCode_Click(object sender, EventArgs e) { var com = new GenerateCSharpCodeCommand(new AdminRepository()); com.Execute(); }