Example #1
0
        public RoleGroupModel UpdateRoleGroup(RoleGroupModel model)
        {
            var script = string.Format("UPDATE [RoleGroup] SET RoleGroupName='{0}',Description = '{1}' WHERE Id ={2}", model.RoleGroupName, model.Description, model.Id);

            _dbConnector.ExecuteCommand(new SqlCommand(script));

            DataStorageService.UpdateRoleGroupRole(model);

            return(model);
        }