|
|
@@ -283,8 +283,11 @@ namespace Learun.Application.WebApi |
|
|
|
var photo = ""; |
|
|
|
if (company.F_Photo != null) |
|
|
|
{ |
|
|
|
photo = annexesFileIBLL.GetEntityByFolderId(company.F_Photo).F_FilePath; |
|
|
|
photo = "/" + photo.Substring(photo.IndexOf("Resource")); |
|
|
|
photo = annexesFileIBLL.GetEntityByFolderId(company.F_Photo)?.F_FilePath; |
|
|
|
if (!string.IsNullOrEmpty(photo)) |
|
|
|
{ |
|
|
|
photo = "/" + photo.Substring(photo.IndexOf("Resource")); |
|
|
|
} |
|
|
|
} |
|
|
|
result.Add(new |
|
|
|
{ |
|
|
|