Esempio n. 1
0
 public CommodityService(ICommodityRepo commodityRepo)
 {
     _commodityRepo = commodityRepo;
 }
Esempio n. 2
0
        public void SetUp()
        {
            _commodityRepo = Substitute.For <ICommodityRepo>();

            _commodityService = new CommodityService(_commodityRepo);
        }
Esempio n. 3
0
 public CommodityController(ICommodityRepo _commodity)
 {
     commodityRepo = _commodity;
 }