Example #1
0
        public CustomerCompany GetByRuc(string ruc)
        {
            var customer = _customerCompanyRepository.GetByRuc(ruc);

            if (customer == null)
            {
                return(null);
            }
            //customer.Contacts = _contactRepository.GetByCustomerId(customer.Id).ToList();
            return(customer);
        }