public IHttpActionResult PostRoles(Rol rol)
 {
     try
     {
         var rolManager = new RolManagement();
         apiResponse = new ApiResponse();
         var res = rolManager.RetrieveAllByIdHotel(rol.Hotel);
         apiResponse.Data    = res;
         apiResponse.Message = "true";
         return(Ok(apiResponse));
     }
     catch (Exception e)
     {
         return(InternalServerError(e));
     }
 }
 public IHttpActionResult Get(string id)
 {
     try
     {
         var rolManager = new RolManagement();
         apiResponse = new ApiResponse();
         var res = rolManager.RetrieveAllByIdHotel(Int32.Parse(id));
         apiResponse.Data    = res;
         apiResponse.Message = "true";
         return(Ok(apiResponse));
     }
     catch (Exception e)
     {
         return(InternalServerError(e));
     }
 }