public IHttpActionResult GetSpecialSessionById(int specialSessionId) { var specialsession = _bll.GetSpecialSessionByID(specialSessionId); if (specialsession == null) { return(BadRequest()); } return(Ok(specialsession)); }
public void TestGetSpecialSessionById() { var result = sessionBll.GetSpecialSessionByID(1); Assert.IsNotNull(result); }