Esempio n. 1
0
        public async Task <int> UpdateLaundry(LaundryService laundry)
        {
            await this.httpService.Put <LaundryService>($"/laundryServices/{laundry.Id}", laundry);

            return(laundry.Id);
        }
Esempio n. 2
0
        public async Task <int> CreateLaundry(LaundryService laundry)
        {
            var result = await this.httpService.Post <LaundryService>("/laundryServices", laundry);

            return(result.Id);
        }