public static CustomerCustomerDemo CustomerCustomerDemo(string customerId, string customerTypeId)
		{
			CustomerCustomerDemo customerCustomerDemo = new CustomerCustomerDemo();
			customerCustomerDemo.Id = customerId;
			customerCustomerDemo.CustomerTypeId = customerTypeId;
			return customerCustomerDemo;
		}
Пример #2
0
 public static CustomerCustomerDemoDto ToCustomerCustomerDemoDto(CustomerCustomerDemo model)
 {
     return(new CustomerCustomerDemoDto {
         Id = model.Id,
         CustomerTypeId = model.CustomerTypeId,
     });
 }
Пример #3
0
        public static CustomerCustomerDemo CustomerCustomerDemo(string customerId, string customerTypeId)
        {
            CustomerCustomerDemo customerCustomerDemo = new CustomerCustomerDemo();

            customerCustomerDemo.Id             = customerId;
            customerCustomerDemo.CustomerTypeId = customerTypeId;
            return(customerCustomerDemo);
        }
		public static CustomerCustomerDemoDto ToCustomerCustomerDemoDto(CustomerCustomerDemo model)
		{
			return new CustomerCustomerDemoDto {
				Id = model.Id,
				CustomerTypeId = model.CustomerTypeId,
			};
		}