Exemple #1
0
        public void TestGetAwardById()
        {
            int id     = 3;
            var result = awardTests.GetAwardById(id);

            Assert.IsNotNull(result);
        }
Exemple #2
0
        public IHttpActionResult GetAwardById(int awardId)
        {
            var award = _bll.GetAwardById(awardId);

            return(Ok(award));
        }