public async Task <BillingResponseModel> GetBilling(string id) { var orgIdGuid = new Guid(id); if (!await _currentContext.ManageBilling(orgIdGuid)) { throw new NotFoundException(); } var organization = await _organizationRepository.GetByIdAsync(orgIdGuid); if (organization == null) { throw new NotFoundException(); } var billingInfo = await _paymentService.GetBillingAsync(organization); return(new BillingResponseModel(billingInfo)); }