Esempio n. 1
0
 public ProductController(IProductDAL productdal, IProductCommentDAL commentdal, IProductPictureDAL picturedal, IProductTechnicPropertyDAL propertyvaluedal, IPropertyDAL propertdal, IProductModelDAL modeldal, IMakeDAL makedal, ICategoryDAL categorydal)
 {
     ProductDAL       = productdal;
     CommentDAL       = commentdal;
     PictureDAL       = picturedal;
     PropertyValueDAL = propertyvaluedal;
     PropertyDAL      = propertdal;
     ModelDAL         = modeldal;
     MakeDAL          = makedal;
     CategoryDAL      = categorydal;
 }
 public HomeController(IApplicationDAL applicationDAL, IPropertyDAL propertyDAL, IHttpContextAccessor contextAccessor,
                       IUserDAL userDAL, IUnitDAL unitDAL, IAuthProvider authProvider, IServiceRequestDAL serviceRequestDAL,
                       IPaymentDAL paymentDAL)
 {
     this.applicationDAL    = applicationDAL;
     this.contextAccessor   = contextAccessor;
     this.userDAL           = userDAL;
     this.authProvider      = authProvider;
     this.propertyDAL       = propertyDAL;
     this.unitDAL           = unitDAL;
     this.serviceRequestDAL = serviceRequestDAL;
     this.paymentDAL        = paymentDAL;
 }
 public OwnerController(IApplicationDAL applicationDAL, IPropertyDAL propertyDAL, IHttpContextAccessor contextAccessor, IUserDAL userDAL, IUnitDAL unitDAL, IAuthProvider authProvider, IServiceRequestDAL serviceRequestDAL,
                        IPaymentDAL paymentDAL) :
     base(applicationDAL, propertyDAL, contextAccessor, userDAL, unitDAL, authProvider, serviceRequestDAL, paymentDAL)
 {
 }
 public PropertyController(IPropertyDAL propertydal, ICategoryDAL categorydal)
 {
     PropertyDAL = propertydal;
     CategoryDAL = categorydal;
 }
Esempio n. 5
0
 public PropertyBLL() : base()
 {
     base.Init(this.GetType().FullName, System.Reflection.Assembly.GetExecutingAssembly().GetName().Name, "BLL.", "Jssjw");
     baseDal.OnOperationLog += new OperationLogEventHandler(Next.Admin.BLL.OperationLogBLL.OnOperationLog);//如果需要记录操作日志,则实现这个事件
     this.propertyDAL        = (IPropertyDAL)base.baseDal;
 }