C# Класс RibbitMvc.Services.UserService

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

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

Метод Описание
All ( bool includeProfile ) : IEnumerable
Create ( string username, string password, UserProfile profile, System.DateTime created = null ) : User
Follow ( string username, User follower ) : void
GetAllFor ( int id ) : User
GetAllFor ( string username ) : User
GetBy ( int id ) : User
GetBy ( string username ) : User
Unfollow ( string username, User follower ) : void
UserService ( IContext context ) : RibbitMvc.Data

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

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

public All ( bool includeProfile ) : IEnumerable
includeProfile bool
Результат IEnumerable

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

public Create ( string username, string password, UserProfile profile, System.DateTime created = null ) : User
username string
password string
profile RibbitMvc.Models.UserProfile
created System.DateTime
Результат RibbitMvc.Models.User

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

public Follow ( string username, User follower ) : void
username string
follower RibbitMvc.Models.User
Результат void

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

public GetAllFor ( int id ) : User
id int
Результат RibbitMvc.Models.User

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

public GetAllFor ( string username ) : User
username string
Результат RibbitMvc.Models.User

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

public GetBy ( int id ) : User
id int
Результат RibbitMvc.Models.User

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

public GetBy ( string username ) : User
username string
Результат RibbitMvc.Models.User

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

public Unfollow ( string username, User follower ) : void
username string
follower RibbitMvc.Models.User
Результат void

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

public UserService ( IContext context ) : RibbitMvc.Data
context IContext
Результат RibbitMvc.Data