public async Task <ActionResult> Get()
 {
     try
     {
         _log4net.Info("Getting details of all Hotels");
         return(new OkObjectResult(await repository.GetAll()));
     }
     catch
     {
         _log4net.Error("Error in Getting Hotel Details");
         return(new NoContentResult());
     }
 }