Beispiel #1
0
 public Sys_Role GetModel(int Id)
 {
     Sys_Role entity = new Sys_Role();
     //List<SqlParam> pars = new List<SqlParam>();
     //pars.Add(new SqlParam("Id", Id));
     entity.Id = Id;
     return new Helper().Find(entity);
 }
Beispiel #2
0
 public ActionResult Add(Sys_Role entity)
 {
     return Json(new Sys_RoleDAL().Insert(entity));
 }
Beispiel #3
0
 public ErrorResult Update(Sys_Role entity)
 {
     return new Helper().Update(entity);
 }
Beispiel #4
0
 public ErrorResult Insert(Sys_Role entity)
 {
     return new Helper().Insert(entity);
 }