Finsih Employyepage

This commit is contained in:
2026-08-03 11:01:37 +02:00
parent f01f05e126
commit 6e14130a9c
7 changed files with 250 additions and 3 deletions

View File

@@ -55,5 +55,13 @@ namespace Pos.Service
{
return await _employeeRepository.GetAllAsync();
}
public async Task<EmployeeEntity> AddEmployeeAsync(string name)
{
EmployeeEntity employee =
await _employeeRepository.AddAsync(ValidateName(name));
CacheService.Invalidate();
return employee;
}
}
}