Exemple #1
0
        public IHttpActionResult GetUnassignedBuildingsForConference(int conferenceId)
        {
            var building = _bll.GetUnassignedBuildingsForConference(conferenceId);

            if (building == null)
            {
                return(BadRequest());
            }
            return(Ok(building));
        }
Exemple #2
0
        public void TestUnassignedBuildingsForConference()
        {
            var result = bll.GetUnassignedBuildingsForConference(1);

            Assert.IsTrue(result.Count() >= 1);
        }