示例#1
0
        public IActionResult DisableUser(string usercode)
        {
            int cnt = _pfd.DisableUser(usercode);

            if (cnt == 0)
            {
                return(NotFound());
            }

            return(Ok(new { Message = $"Updated {cnt} records." }));
        }