|
|
@ -47,7 +47,8 @@ public class Ghre_CourseWareServices : BaseServices<Ghre_CourseWare, Ghre_Course |
|
|
|
CourseWareId = result, |
|
|
|
CourseWareId = result, |
|
|
|
AttachmentName = x.LinkName, |
|
|
|
AttachmentName = x.LinkName, |
|
|
|
RelativePath = x.LinkAddress, |
|
|
|
RelativePath = x.LinkAddress, |
|
|
|
AttachFileExtension = "http" |
|
|
|
AttachFileExtension = "http", |
|
|
|
|
|
|
|
LearnDuration = x.LearnDuration |
|
|
|
}).ToList(); |
|
|
|
}).ToList(); |
|
|
|
await _ghre_CourseWareAttachmentServices.Add(attachments); |
|
|
|
await _ghre_CourseWareAttachmentServices.Add(attachments); |
|
|
|
} |
|
|
|
} |
|
|
@ -98,7 +99,8 @@ public class Ghre_CourseWareServices : BaseServices<Ghre_CourseWare, Ghre_Course |
|
|
|
CourseWareId = Id, |
|
|
|
CourseWareId = Id, |
|
|
|
AttachmentName = x.LinkName, |
|
|
|
AttachmentName = x.LinkName, |
|
|
|
RelativePath = x.LinkAddress, |
|
|
|
RelativePath = x.LinkAddress, |
|
|
|
AttachFileExtension = "http" |
|
|
|
AttachFileExtension = "http", |
|
|
|
|
|
|
|
LearnDuration = x.LearnDuration |
|
|
|
}).ToList(); |
|
|
|
}).ToList(); |
|
|
|
await _ghre_CourseWareAttachmentServices.Add(attachments); |
|
|
|
await _ghre_CourseWareAttachmentServices.Add(attachments); |
|
|
|
} |
|
|
|
} |
|
|
|