public IHttpActionResult Get(int eNodebId, byte sectorId) { var item = _service.GetCell(eNodebId, sectorId); return(item == null ? (IHttpActionResult)BadRequest("The cell cannot be found!") : Ok(item)); }
public CellView Get(int eNodebId, byte sectorId) { return(_service.GetCell(eNodebId, sectorId)); }