C# Class Tp.PopEmailIntegration.Data.UserRepository

Exibir arquivo Open project: TargetProcess/Target-Process-Plugins Class Usage Examples

Public Methods

Method Description
Add ( Tp.PopEmailIntegration.Data.UserLite userLite ) : void
GetByEmail ( string userEmail ) : IEnumerable
GetById ( int userId ) : Tp.PopEmailIntegration.Data.UserLite
Remove ( int userId, string userEmail ) : void
Update ( Tp.PopEmailIntegration.Data.UserLite user ) : void
UserRepository ( IStorageRepository storageRepository ) : System

Method Details

Add() public method

public Add ( Tp.PopEmailIntegration.Data.UserLite userLite ) : void
userLite Tp.PopEmailIntegration.Data.UserLite
return void

GetByEmail() public method

public GetByEmail ( string userEmail ) : IEnumerable
userEmail string
return IEnumerable

GetById() public method

public GetById ( int userId ) : Tp.PopEmailIntegration.Data.UserLite
userId int
return Tp.PopEmailIntegration.Data.UserLite

Remove() public method

public Remove ( int userId, string userEmail ) : void
userId int
userEmail string
return void

Update() public method

public Update ( Tp.PopEmailIntegration.Data.UserLite user ) : void
user Tp.PopEmailIntegration.Data.UserLite
return void

UserRepository() public method

public UserRepository ( IStorageRepository storageRepository ) : System
storageRepository IStorageRepository
return System