示例#1
0
 public BaseViewModel()
 {
     _jsonParserService     = new JsonParserService();
     _daoInstance           = DaoSweetRecipes.Instance;
     _daoscheduledRecipe    = DaoScheduledRecipe.Instance;
     _recommandationService = new RecommandationService();
 }
示例#2
0
        public ActionResult DeleteRecommandation(int recommandation)
        {
            RecommandationService rs = new RecommandationService();

            rs.SupprimerRecommandation(recommandation);


            return(RedirectToAction("Appointments"));
        }
示例#3
0
 public SalesHistoryController(DataContext context)
 {
     _context = context;
     this.recommandationService = new RecommandationService(context);
 }