示例#1
0
 public SearchController(IPlanSqlDAL planDal, IRecipeSqlDAL recipeDal, IUserSqlDAL userDal, ISearchSqlDAL searchDal) : base(userDal)
 {
     this.planDal   = planDal;
     this.recipeDal = recipeDal;
     this.userDal   = userDal;
     this.searchDal = searchDal;
 }
示例#2
0
        //private UserModel user;

        public HomeController(IPlanSqlDAL planDal, IRecipeSqlDAL recipeDal, IUserSqlDAL userDal) : base(userDal)
        {
            this.planDal   = planDal;
            this.recipeDal = recipeDal;
            this.userDal   = userDal;
            //this.user = Session["user"] as UserModel;
        }
示例#3
0
 public UserController(IPlanSqlDAL planDal, IRecipeSqlDAL recipeDal, IUserSqlDAL userDal) : base(userDal)
 {
     this.planDal   = planDal;
     this.recipeDal = recipeDal;
     this.userDal   = userDal;
 }