示例#1
0
        public static async Task Add(Emploee duty, HttpClient client, DataGridView grid, Emploee qq)
        {
            Emploee emp = await OpEmploee.CreateD(duty, client);

            grid.DataSource = await OpEmploee.GetD(client);

            qq = emp;
        }
示例#2
0
 public static async Task Get(HttpClient client, DataGridView grid)
 {
     grid.DataSource = await OpEmploee.GetD(client);
 }