public ActionResult <HostReadDto> GetHostById(int id)
        {
            var hostModel = _repo.GetHostById(id);

            if (hostModel == null)
            {
                return(NotFound());
            }
            var hostReadDto = _mapper.Map <HostReadDto>(hostModel);

            return(Ok(hostReadDto));
        }
 private bool IsHostExist(int reservationHostId)
 {
     return(_hostRepo.GetHostById(reservationHostId) != null);
 }