/// <summary> /// This kicks off the workflow and returns the property ID /// </summary> /// <param name="ownerName"></param> /// <param name="streetAddress"></param> /// <param name="askingPrice"></param> /// <returns></returns> static Guid UploadProperty(string ownerName, string streetAddress, double askingPrice) { PropertyService.PropertyClient client = new PropertyService.PropertyClient(); Guid?id = client.UploadPropertyInformation(new PropertyService.UploadPropertyInformation { owner = ownerName, address = streetAddress, askingPrice = askingPrice }); return(id.Value); }
/// <summary> /// Send the end of message /// </summary> /// <param name="id"></param> static void DetailsComplete(Guid id) { PropertyService.PropertyClient client = new PropertyService.PropertyClient(); client.DetailsComplete(id); }
/// <summary> /// Add some room information /// </summary> /// <param name="id"></param> /// <param name="roomName"></param> /// <param name="width"></param> /// <param name="depth"></param> static void UploadRoom(Guid id, string roomName, double width, double depth) { PropertyService.PropertyClient client = new PropertyService.PropertyClient(); client.UploadRoomInformation(id, roomName, width, depth); }