Esempio n. 1
0
        public IActionResult Index(VotePizzaBindingModel model, HttpResponse response)
        {
            var service = new MenuService(Data.Data.Context);

            service.AddVoteForPizza(model);

            this.Redirect(response, "/menu/index");
            return(null);
        }