Exemplo n.º 1
0
        public List <InvoiceType> GetInvoiceTypes()
        {
            var types = new List <InvoiceType>();

            foreach (var type in _invoiceRepository.GetTypes())
            {
                types.Add(InvoiceType.MapFromEntity(type));
            }

            return(types);
        }