public IHttpActionResult AddBuildingQueue([FromBody] BuildingQue buildingQue) { try { return(Ok(PlanetBLL.AddBuildingQueue(buildingQue))); } catch (Exception e) { return(InternalServerError(e)); } }
public IHttpActionResult GetBuildingQueue(int PlanetID, int UserID) { try { return(Ok(PlanetBLL.GetBuildingQueue(PlanetID, UserID))); } catch (Exception e) { return(InternalServerError(e)); } }
public IHttpActionResult UpdatePlanetHarvest([FromBody] PlanetDetail planetDetail) { try { return(Ok(PlanetBLL.UpdatePlanetHarvest(planetDetail))); } catch (Exception e) { return(InternalServerError(e)); } }