示例#1
0
 public Customer(
     string firstName,
     string middleName,
     string lastName,
     long id,
     string permanentAddress,
     int mobilePhone,
     string email,
     IList <Payments> customPayments,
     customType customerType)
 {
     this.FirstName        = firstName;
     this.MiddleName       = middleName;
     this.LastName         = lastName;
     this.ID               = id;
     this.PermanentAddress = permanentAddress;
     this.MobilePhone      = mobilePhone;
     this.Email            = email;
     this.CustomPayments   = customPayments;
     this.CustomerType     = customerType;
 }
示例#2
0
 public ActionResult customRequest([FromQuery] Value value, [FromBody] customType customType)
 {
     return(Ok());
 }