public override void OnActionExecuted(ActionExecutedContext context) { base.OnActionExecuted(context); //called after executing the action _context.Language.Add(new Language { LanguageName = "L1" }); _context.SaveChanges(); }