public CustomerModel GetCustomer(int id)
        {
            var dbCustomer        = Repo.GetCustoemrById(id);
            var convertedCustomer = FromDbToModel.ConvertCustomer(dbCustomer);

            return(convertedCustomer);
        }
        private CustomerModel ConvertCustomer(CustomerEntity customerEntity)
        {
            var customerModel = FromDbToModel.ConvertCustomer(customerEntity);

            return(customerModel);
        }
        private IEnumerable <CustomerModel> ConvertCustomer(IEnumerable <CustomerEntity> cstEntityCollection)
        {
            var cstModelCollection = FromDbToModel.ConvertCustomer(cstEntityCollection);

            return(cstModelCollection);
        }