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); }
public ActionResult Add(Sys_Role entity) { return Json(new Sys_RoleDAL().Insert(entity)); }
public ErrorResult Update(Sys_Role entity) { return new Helper().Update(entity); }
public ErrorResult Insert(Sys_Role entity) { return new Helper().Insert(entity); }