/// <summary>
 /// Create a new T_Role object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static T_Role CreateT_Role(global::System.Int32 id)
 {
     T_Role t_Role = new T_Role();
     t_Role.Id = id;
     return t_Role;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the T_Role EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToT_Role(T_Role t_Role)
 {
     base.AddObject("T_Role", t_Role);
 }
 public ActionResult Modify(T_Role role)
 {
     roleService.Update(role);
     return MyJson(role);
 }