public async Task <viewModel.InvoiceView> Get([FromRoute] int invoiceId)
        {
            var view = new views.InvoiceViews();

            return(await view.Get(invoiceId));
        }
        public async Task <List <viewModel.InvoiceView> > GetInvoicesForCustomer([FromRoute] int customerId)
        {
            var view = new views.InvoiceViews();

            return(await view.GetInvoicesForCustomer(customerId));
        }
        public async Task <List <viewModel.InvoiceView> > All()
        {
            var views = new views.InvoiceViews();

            return(await views.GetAll());
        }