public UnavailabilityModel Update(int businessId, int unavailabilityId, UnavailabilityModel model) { return(ApiRequest <UnavailabilityModel, UnavailabilityModel>($"/business/{businessId}/unavailability/{unavailabilityId}", model, Method.PUT)); }
public UnavailabilityModel Create(int businessId, UnavailabilityModel model) { return(ApiRequest <UnavailabilityModel, UnavailabilityModel>($"/business/{businessId}/unavailability/", model, Method.POST)); }