public ActionResult Create(ASF.Entities.Category model) { if (ModelState.IsValid) { var cp = new ASF.UI.Process.CategoryProcess(); model.CreatedOn = DateTime.Now; model.ChangedOn = DateTime.Now; cp.Create(model); } return(RedirectToAction("Index")); }