Exemple #1
0
 public JsonResult Modify(RoleVM vModel)
 {
     return(JsonAllowGet(new RoleService().Modify(vModel.Id, vModel.Name, vModel.IsPublish, vModel.Enabled)));
 }
Exemple #2
0
 public JsonResult Create(RoleVM vModel)
 {
     return(JsonAllowGet(new RoleService().Create(vModel.Code, vModel.Name, vModel.IsPublish, vModel.Enabled)));
 }