Ejemplo n.º 1
0
 public bool Update(RolesDto model)
 {
     model.CreateTime = DateTime.Now;
     return _rolesDal.Update(model);
 }
Ejemplo n.º 2
0
 public int Add(RolesDto model)
 {
     model.CreateTime = DateTime.Now;
     model.IsDel = false;
     return _rolesDal.Insert(model);
 }