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