public void Test_QuerySectors_SingleInfrastructure(int id, bool matched, string cellName, double lontitute, double lattitute, double azimuth, string indoor) { _cellRepository.MockSixCells(lontitute, lattitute); var views = _service.QuerySectors("College-" + id); if (matched) { Assert.IsNotNull(views); var cellViews = views as SectorView[] ?? views.ToArray(); Assert.AreEqual(cellViews.Count(), 1); } }
public IEnumerable <SectorView> Post(CollegeNamesContainer collegeNames) { return(_service.QuerySectors(collegeNames.Names)); }