コード例 #1
0
        public async Task <Busyo> DeleteBusyoAsync(int Id)
        {
            IRestService rest         = new RestService();
            Busyo        deletedbusyo = await rest.DeleteBusyoAsync(Id);

            return(deletedbusyo);
        }
コード例 #2
0
        public async Task <Busyo> PutBusyoAsync(Busyo busyo)
        {
            IRestService rest         = new RestService();
            Busyo        updatedBusyo = await rest.PutBusyoAsync(busyo);

            return(updatedBusyo);
        }
コード例 #3
0
        public async Task <Busyo> PostBusyoAsync(Busyo busyo)
        {
            IRestService rest         = new RestService();
            Busyo        createdbusyo = await rest.PostBusyoAsync(busyo);

            return(createdbusyo);
        }