This commit is contained in:
mmrbnjd
2024-06-25 17:14:08 +03:30
parent 4631d8f159
commit ce81911242
10 changed files with 76 additions and 23 deletions

View File

@@ -244,14 +244,14 @@ namespace Back.Services
request.Warning.Add(new AlertDTO { Status = 5, Message = "بهتر است اطلاعات شرکت بروزرسانی شود" });
}
}
var nots = await _servNotification.GetNotifications();
var nots = await _servNotification.GetNotifications(UserID);
if (nots.Any())
request.Notifications = nots.Select(s => new AlertDTO
{
ViewSize=s.ID.ToString(),
Message = s.Message,
Status = s.Type,
Path = s.Path,
ViewSize = s.ViewSize
Path = s.Title
}).ToList();
LastActivitySevice lastInvoice = new LastActivitySevice();