public IActionResult DisableUser(string usercode) { int cnt = _pfd.DisableUser(usercode); if (cnt == 0) { return(NotFound()); } return(Ok(new { Message = $"Updated {cnt} records." })); }