public ActionResult Edit(int id) { return(PartialView("Manager", CategoryModel.EntityToModel(_context.GetById(id)))); }