C# Class Emergy.Api.Controllers.NotificationsApiController

Inheritance: MasterApiController
Show file Open project: gboduljak/Emergy

Public Methods

Method Description
NotificationsApiController ( IRepository notificationsRepository ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Create ( Emergy.Core.Models.Notification model ) : Task
Get ( [ id ) : Task
GetLatest ( ) : Task>
GetLatest ( [ lastHappened ) : Task>
GetNotification ( int id ) : Task
GetNotifications ( System.DateTime lastHappened ) : Task>
SearchByTerm ( string searchTerm = null ) : Task>
SendNotificationMail ( int notificationId, NotificationType notificationType ) : System.Threading.Tasks.Task

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

NotificationsApiController() public method

public NotificationsApiController ( IRepository notificationsRepository ) : System
notificationsRepository IRepository
return System