public RectangleRange Get(string collegeName) { return(_repository.GetRange(collegeName)); }
public IHttpActionResult Get(string collegeName) { var range = _repository.GetRange(collegeName); return(range == null ? (IHttpActionResult)BadRequest("College Not Found Or without region!") : Ok(range)); }