Exemplo n.º 1
0
        public IHttpActionResult GetUnassignedBuildingsForConference(int conferenceId)
        {
            var building = _bll.GetUnassignedBuildingsForConference(conferenceId);

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

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