|
|
@@ -240,6 +240,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
if (dispatchEntity.AttachmentName != null) |
|
|
|
{ |
|
|
|
string str = ""; |
|
|
|
var str1 = ""; |
|
|
|
string[] array = annexesFileIBLL.GetFileNames(dispatchEntity.AttachmentName).Split(','); |
|
|
|
if (array.Length > 0) |
|
|
|
{ |
|
|
@@ -248,10 +249,13 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
if (array[i].Trim() != "") |
|
|
|
{ |
|
|
|
str += array[i].Substring(0, array[i].IndexOf(".")) + ","; |
|
|
|
str1 += array[i] + ","; |
|
|
|
} |
|
|
|
} |
|
|
|
str.TrimEnd(','); |
|
|
|
str1.TrimEnd(','); |
|
|
|
} |
|
|
|
dispatchEntity.AttachmentName = string.Empty; |
|
|
|
dispatchEntity.Reasons = str; |
|
|
|
} |
|
|
|
#endregion |
|
|
|