read not
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user