Exemplo n.º 1
0
        public async Task DeleteCustomer(string officialId)
        {
            officialId = FormatOfficialId(officialId);
            await _hrSystemProvider.ValidateOfficialId(officialId);

            await _databaseProvider.DeleteCustomer(officialId);

            await _hrSystemProvider.NotifyAboutChange(officialId, ChangeType.Delete);
        }