public async Task <IActionResult> Put(string id, [FromBody] Guest guestDto) { guestDto.id = Guid.Parse(id).ToString(); await _repository.UpdateEntityAsync(CollectionName, id, guestDto); return(Ok()); }