Exemple #1
0
        public ActionResult AddSize(Size s, List <Category> categories)
        {
            var repo = new ProductsRepository();

            repo.AddSize(s, categories.Where(x => x.Included == true).ToList());
            return(Redirect("/Products/Sizes"));
        }