C# Class Cats.Services.Common.NotificationService

Inheritance: INotificationService
Afficher le fichier Open project: edgecomputing/cats

Méthodes publiques

Méthode Description
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

Method Details

AddNotification() public méthode

public AddNotification ( Notification notification ) : bool
notification Cats.Models.Notification
Résultat bool

AddNotificationForEarlyWaringFromRegions() public méthode

public AddNotificationForEarlyWaringFromRegions ( string destinationURl, int requestId, int regionId ) : bool
destinationURl string
requestId int
regionId int
Résultat bool

AddNotificationForHubManagersFromTransportOrder() public méthode

public AddNotificationForHubManagersFromTransportOrder ( string destinationUrl, int transportOrderId, string transportOrderNo, List hubId ) : bool
destinationUrl string
transportOrderId int
transportOrderNo string
hubId List
Résultat bool

AddNotificationForLogistcisFromEarlyWaring() public méthode

public AddNotificationForLogistcisFromEarlyWaring ( string destinationURl, int requisitionID, int regionId, string requisitioNo ) : bool
destinationURl string
requisitionID int
regionId int
requisitioNo string
Résultat bool

AddNotificationForProcurementFromLogistics() public méthode

public AddNotificationForProcurementFromLogistics ( string destinationURl, TransportRequisition transportRequisition ) : bool
destinationURl string
transportRequisition Cats.Models.TransportRequisition
Résultat bool

AddNotificationForProcurmentForGRNDiscripancy() public méthode

public AddNotificationForProcurmentForGRNDiscripancy ( string destinationURl, int transportOrderId, string transportOrderNo ) : bool
destinationURl string
transportOrderId int
transportOrderNo string
Résultat bool

DeleteById() public méthode

public DeleteById ( int id ) : bool
id int
Résultat bool

DeleteNotification() public méthode

public DeleteNotification ( Notification notification ) : bool
notification Cats.Models.Notification
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EditNotification() public méthode

public EditNotification ( Notification notification ) : bool
notification Cats.Models.Notification
Résultat bool

FindBy() public méthode

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
Résultat List

FindById() public méthode

public FindById ( int id ) : Notification
id int
Résultat Cats.Models.Notification

GetAllNotification() public méthode

public GetAllNotification ( ) : List
Résultat List

NotificationService() public méthode

public NotificationService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
Résultat System