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