public SearchController(IPlanSqlDAL planDal, IRecipeSqlDAL recipeDal, IUserSqlDAL userDal, ISearchSqlDAL searchDal) : base(userDal) { this.planDal = planDal; this.recipeDal = recipeDal; this.userDal = userDal; this.searchDal = searchDal; }
//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; }
public UserController(IPlanSqlDAL planDal, IRecipeSqlDAL recipeDal, IUserSqlDAL userDal) : base(userDal) { this.planDal = planDal; this.recipeDal = recipeDal; this.userDal = userDal; }