public IActionResult Put(int availabilityId, [FromBody] AvailabilityEditDto availabilityEditDto) { var availability = _availabilityRepository.EditAvailability(availabilityId, availabilityEditDto); return(Ok(availability)); }