public childOptions readChildOptions(string childId) { IchildClient child = new IchildClient(); childOptions response = new childOptions(); response = child.readOptions(new Guid(childId), Guid.NewGuid()); return(response); }
public string updateChildOptions(string child, string user, string releaseDate, string releaseDates) { string response = ""; IchildClient client = new IchildClient(); childOptions options = new childOptions(); options.childId = new Guid(child); options.user = new Guid(user); options.releaseDate = DateTime.Parse(releaseDate); options.releaseDates = Convert.ToInt32(releaseDates.Length <= 0 || releaseDates == null ? "0" : releaseDates); //response = client.updateOptions(options); return(response); }