Addet Employye get logic
This commit is contained in:
@@ -50,5 +50,10 @@ namespace Pos.Service
|
||||
if (employeeId <= 0)
|
||||
throw new ArgumentOutOfRangeException(nameof(employeeId));
|
||||
}
|
||||
|
||||
public async Task<List<EmployeeEntity>> GetEmployeesAsync()
|
||||
{
|
||||
return await _employeeRepository.GetAllAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user