Ejemplo n.º 1
0
        public ActionResult CreateAndReview(CreateAndReviewViewModel model)
        {
            if(ModelState.IsValid)
            {
                TechStack stack = new TechStack();
                stack.Id = model.Slug;
                stack.Name = model.Name;
            }

            return View(model);
        }
Ejemplo n.º 2
0
 public ActionResult CreateAndReview(string name)
 {
     CreateAndReviewViewModel viewModel = new CreateAndReviewViewModel();
     viewModel.Name = name;
     return View(viewModel);
 }