установлен #region

This commit is contained in:
Olga Nemt 2023-12-19 12:30:21 +05:00
parent 3cf880832c
commit 5a4211b8a5
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ public class NotificationCategory : IId
/// СИСТЕМНЫЕ УВЕДОМЛЕНИЯ /// СИСТЕМНЫЕ УВЕДОМЛЕНИЯ
/// </summary> /// </summary>
public const int IdSystemNotificationCategory = 1; public const int IdSystemNotificationCategory = 1;
#endregion
[Key] [Key]
[Column("id")] [Column("id")]

View File

@ -376,7 +376,7 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram
await notificationService.NotifyAsync(new NotifyRequest await notificationService.NotifyAsync(new NotifyRequest
{ {
IdUser = user.Id, IdUser = user.Id,
IdNotificationCategory = idNotificationCategory, IdNotificationCategory = NotificationCategory.IdSystemNotificationCategory,
Title = subject, Title = subject,
Message = body, Message = body,
IdTransportType = idTransportType IdTransportType = idTransportType