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