File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
DocuSign.Workspaces/DocuSign.Workspaces/Domain/CarePlans Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public async Task<List<PhysicianModel>> GetPhysician()
5151 {
5252 var workspaceBody = new CreateWorkspaceBody
5353 {
54- Name = physician + " Workspace"
54+ Name = physician . Split ( ' ' ) [ 1 ] + " " + physician . Split ( ' ' ) [ 2 ]
5555 } ;
5656 var workspace = await ExecuteDocuSignCallAsync (
5757 "Workspace2.CreateWorkspaceAsync" ,
@@ -76,8 +76,8 @@ public async Task<List<CareDocumentsModel>> SubmitToPhysician(SubmitToPhysicians
7676 var userForCreate = new WorkspaceUserForCreate
7777 {
7878 Email = model . Email ,
79- FirstName = model . Physician . Name ,
80- LastName = "Last Name"
79+ FirstName = model . Physician . Name . Split ( ' ' ) [ 1 ] ,
80+ LastName = model . Physician . Name . Split ( ' ' ) [ 2 ]
8181 } ;
8282 await ExecuteDocuSignCallAsync (
8383 "WorkspaceUsers.AddWorkspaceUserAsync" ,
You can’t perform that action at this time.
0 commit comments