Esempio n. 1
0
        /// <summary>Creates a new instance of <see cref="SupplierController"></summary>
        /// <param name="supplierGroupBll">Contains business rules related to <see cref="SupplierGroup"/> objects.</param>
        public GroupController(SupplierGroupBll supplierGroupBll)
        {
            if (supplierGroupBll == null)
            {
                throw new ArgumentNullException("supplierGroupBll");
            }

            this.supplierGroupBll = supplierGroupBll;
        }
Esempio n. 2
0
 public void SetUp()
 {
     supplierGroupDal = new Mock <ISupplierGroupDal>();
     supplierGroupBll = new SupplierGroupBll(supplierGroupDal.Object);
 }