public async Task <IActionResult> Get([FromQuery] EmployeeInputFilter search) { var employees = await _employeesService.Find(search.Id, search.Name, search.RoleId, search.RoleName, search.ContractTypeName, search.Salary); if (employees == null && employees.Any()) { return(NotFound()); } return(Ok(employees)); }