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; }
public ActionResult customRequest([FromQuery] Value value, [FromBody] customType customType) { return(Ok()); }