public ActionResult Create(Salla salla) { try { // TODO: Add insert logic here salla.CreatedOn = DateTime.Now; if (SallatDAL.Insert(salla)) { return(Redirect("Index")); } return(View(salla)); } catch { return(View()); } }