Ejemplo n.º 1
0
        private void button24_Click(object sender, EventArgs e)
        {
            var spApp = new ApplicationProcessor(ConfigurationManager.AppSettings["SPStoragePath"]);

            MessageBox.Show(
                spApp.Insert(new ApplicationsModel
            {
                Id               = new Guid(),
                Name             = "Test App",
                ConnectionString = "Contoh ConnectionString",
                IsActive         = true
            }).ToString()
                );

            dgv.DataSource = spApp.Gets().ToDataTable();
        }
Ejemplo n.º 2
0
 public ApiOutputModel Post([FromBody] ApplicationsModel value)
 {
     return(_ap.Insert(value));
 }