public IActionResult getAll([FromBody] CustomEmployee customEmployee) { List <CustomEmployee> employees = _iDbOperations.getAllEmployees(customEmployee.JwT); if (employees != null) { return(Ok(employees)); } else { return(Unauthorized()); } }