public void UpdatePersonalInformationCommandTest() { var updatePersonalInfoCmd = new UpdatePersonalInformationCommand(); updatePersonalInfoCmd.PersonId = "16c7aa1a-27d9-424f-bfc5-a7e1ba0804bb"; updatePersonalInfoCmd.UserLoginId = "142f29b4-f873-4bf8-b1fe-88db902e46b1"; updatePersonalInfoCmd.PersonalInformationArg = new PersonalInformationArg() { FirstName = "Adela", FatherName = "Echegoyen", LastName = "Eshetu", Sex = "F", DateOfBirth = DateTime.Now, GeoId = "ETH" }; updatePersonalInfoCmd.CategoryTypeIds = new List <string> { "PRINT_COMMERCIALS", "RUN_WAY" }; //updatePersonalInfoCmd.UplodableArg = new UploadableArg //{ // File = new UtilityMethods().ConvertImageToByteArray("5.jpg"), // FileTypeId = "PROFILE_PIC" //}; var _result = _service.InvokeCommand(updatePersonalInfoCmd); }
public CommandResult UpdatePersonalInformationCommand(UpdatePersonalInformationCommand updatePersonalInformationCommand) { return(InvokeCommand(updatePersonalInformationCommand)); }