C# Class djfoxer.dp.notification.App.Model.DataService

Inheritance: IDataService
Mostra file Open project: djfoxer/dp.notification

Public Methods

Method Description
DataService ( IStorageService storageService ) : djfoxer.dp.notification.Core
GetFullBlogStatistics ( ) : Task
GetNotifications ( ) : Task>
Login ( string login, string password ) : Task
Logout ( ) : void
RefreshData ( ) : void
RemoveNotyfication ( string notificationId ) : Task>
SaveNotifications ( List notifications ) : List
SetNotificationAsOld ( string notificationId ) : Task>

Method Details

DataService() public method

public DataService ( IStorageService storageService ) : djfoxer.dp.notification.Core
storageService IStorageService
return djfoxer.dp.notification.Core

GetFullBlogStatistics() public method

public GetFullBlogStatistics ( ) : Task
return Task

GetNotifications() public method

public GetNotifications ( ) : Task>
return Task>

Login() public method

public Login ( string login, string password ) : Task
login string
password string
return Task

Logout() public method

public Logout ( ) : void
return void

RefreshData() public method

public RefreshData ( ) : void
return void

RemoveNotyfication() public method

public RemoveNotyfication ( string notificationId ) : Task>
notificationId string
return Task>

SaveNotifications() public method

public SaveNotifications ( List notifications ) : List
notifications List
return List

SetNotificationAsOld() public method

public SetNotificationAsOld ( string notificationId ) : Task>
notificationId string
return Task>