You create a model;
public class MyModel
{
public bool Saved { get; set; }
}
Update your action to use the model
[HttpPost]
public ActionResult Index(mone m)
{
lc.insert(m);
MyModel model = new MyModel();
model.Saved = true;
return View(model);
}
Amend your view to use the model
@model MyModel
@if (Model != null && Model.Saved)
{
<div>Data saved</div>
}