public IActionResult Create([FromBody] Logout credentials) { var newEmpUtil = new EmployeeUtils(); var toLogOut = newEmpUtil.ViewEmployeeAccount(credentials.Username); if (toLogOut == null) { return(NotFound("Employee was Not Found!")); } return(new NoContentResult()); }