示例#1
0
 public ActionResult <Promotion> Get(int id)
 {
     return(_promotionRepository.Find(id));
 }
        public void FindByName(string name)
        {
            var promotion = promotionRepository.Find(name);

            Assert.NotNull(promotion);
        }