public IActionResult Create(Common.Entities.Post model) { Mananger.Create(model); return(Redirect("/")); }
public IActionResult Edit(Common.Entities.Post model) { var post = Mananger.Update(model.Id, model); return(this.Details()); }
public IActionResult Create(Common.Entities.Post model) { Mananger.Create(model); return(Redirect("/")); }
public IActionResult Edit(Common.Entities.Post model) { var post = Mananger.Update(model.Id, model); return(this.Details()); }