public IHttpActionResult GetUnassignedBuildingsForConference(int conferenceId) { var building = _bll.GetUnassignedBuildingsForConference(conferenceId); if (building == null) { return(BadRequest()); } return(Ok(building)); }
public void TestUnassignedBuildingsForConference() { var result = bll.GetUnassignedBuildingsForConference(1); Assert.IsTrue(result.Count() >= 1); }