public async Task <ActionResult> Get(int id)
 {
     try
     {
         _log4net.Info("Getting details of Hotel with  hotelid : " + id);
         return(Ok(await repository.GetById(id)));
     }
     catch
     {
         _log4net.Error("Error in Getting Hotel  Details with hotel id : " + id);
         return(new NoContentResult());
     }
 }