public async Task DeleteLineUnit(IdInput <long> input) { //deleting the jobaccounts based on accountId await _jobaccontRepository.DeleteAsync(p => p.AccountId == input.Id); await _accountUnitManager.DeleteAsync(input.Id); }
public async Task DeleteAccountUnit(IdInput <long> input) { await _accountUnitManager.DeleteAsync(input.Id); }