コード例 #1
0
        public IHttpActionResult Post(CustomerRp Model)
        {
            var customers = this.CustomerFactory.BuildCustomers();

            var value = this.CustomerAppService.Convert(Model);

            var id =  customers.Create(value);

            return this.Ok();
        }
コード例 #2
0
 public CustomerValue Convert(CustomerRp Model)
 {
     return this.MappingEngine.Map<CustomerValue>(Model);
 }