Exemple #1
0
        private void button25_Click(object sender, EventArgs e)
        {
            var spApp = new ApplicationProcessor(ConfigurationManager.AppSettings["SPStoragePath"]);

            MessageBox.Show(
                spApp.Update(spApp.Gets().FirstOrDefault().Id, new ApplicationsModel
            {
                Name = "Update Test App"
            }).ToString()
                );

            dgv.DataSource = spApp.Gets().ToDataTable();
        }
Exemple #2
0
 public ApiOutputModel Put([FromBody] ApplicationsModel value)
 {
     return(_ap.Update(value.Id, value));
 }