Hi,
Please check the Iuser value from where you calling this method. and please not that in you method below code will never execute.
return Json(str);
db.ded_table.AddObject(ded_table);
db.SaveChanges();
return RedirectToAction("Index");
This may help you.