public bool UpdateEntity(Model.Models.TR_Model_Comp_Role entity)
 {
     context.Entry(entity).State = EntityState.Modified;
     return(context.SaveChanges() > 0 ? true : false);
 }
 public Model.Models.TR_Model_Comp_Role AddEntity(Model.Models.TR_Model_Comp_Role entity)
 {
     return(context.TR_Model_Comp_Role.Add(entity));
 }