C# Класс Cats.Services.Common.NotificationService

Наследование: INotificationService
Показать файл Открыть проект

Открытые методы

Метод Описание
AddNotification ( Notification notification ) : bool
AddNotificationForEarlyWaringFromRegions ( string destinationURl, int requestId, int regionId ) : bool
AddNotificationForHubManagersFromTransportOrder ( string destinationUrl, int transportOrderId, string transportOrderNo, List hubId ) : bool
AddNotificationForLogistcisFromEarlyWaring ( string destinationURl, int requisitionID, int regionId, string requisitioNo ) : bool
AddNotificationForProcurementFromLogistics ( string destinationURl, TransportRequisition transportRequisition ) : bool
AddNotificationForProcurmentForGRNDiscripancy ( string destinationURl, int transportOrderId, string transportOrderNo ) : bool
DeleteById ( int id ) : bool
DeleteNotification ( Notification notification ) : bool
Dispose ( ) : void
EditNotification ( Notification notification ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Notification
GetAllNotification ( ) : List
NotificationService ( IUnitOfWork unitOfWork ) : System

Описание методов

AddNotification() публичный Метод

public AddNotification ( Notification notification ) : bool
notification Cats.Models.Notification
Результат bool

AddNotificationForEarlyWaringFromRegions() публичный Метод

public AddNotificationForEarlyWaringFromRegions ( string destinationURl, int requestId, int regionId ) : bool
destinationURl string
requestId int
regionId int
Результат bool

AddNotificationForHubManagersFromTransportOrder() публичный Метод

public AddNotificationForHubManagersFromTransportOrder ( string destinationUrl, int transportOrderId, string transportOrderNo, List hubId ) : bool
destinationUrl string
transportOrderId int
transportOrderNo string
hubId List
Результат bool

AddNotificationForLogistcisFromEarlyWaring() публичный Метод

public AddNotificationForLogistcisFromEarlyWaring ( string destinationURl, int requisitionID, int regionId, string requisitioNo ) : bool
destinationURl string
requisitionID int
regionId int
requisitioNo string
Результат bool

AddNotificationForProcurementFromLogistics() публичный Метод

public AddNotificationForProcurementFromLogistics ( string destinationURl, TransportRequisition transportRequisition ) : bool
destinationURl string
transportRequisition Cats.Models.TransportRequisition
Результат bool

AddNotificationForProcurmentForGRNDiscripancy() публичный Метод

public AddNotificationForProcurmentForGRNDiscripancy ( string destinationURl, int transportOrderId, string transportOrderNo ) : bool
destinationURl string
transportOrderId int
transportOrderNo string
Результат bool

DeleteById() публичный Метод

public DeleteById ( int id ) : bool
id int
Результат bool

DeleteNotification() публичный Метод

public DeleteNotification ( Notification notification ) : bool
notification Cats.Models.Notification
Результат bool

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

EditNotification() публичный Метод

public EditNotification ( Notification notification ) : bool
notification Cats.Models.Notification
Результат bool

FindBy() публичный Метод

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
Результат List

FindById() публичный Метод

public FindById ( int id ) : Notification
id int
Результат Cats.Models.Notification

GetAllNotification() публичный Метод

public GetAllNotification ( ) : List
Результат List

NotificationService() публичный Метод

public NotificationService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
Результат System