C# Класс MvcNewsletter.Repository.CacheRepo

Показать файл Открыть проект

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

Метод Описание
AddUser ( Cache cache, string email, string firstName, string lastName ) : JsonValue
ClearCache ( Cache cache ) : void
EmailExists ( Cache cache, string email ) : bool
GetAllUsers ( Cache cache ) : JsonValue
GetUser ( Cache cache, string email ) : JsonValue

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

AddUser() публичный статический Метод

public static AddUser ( Cache cache, string email, string firstName, string lastName ) : JsonValue
cache System.Web.Caching.Cache
email string
firstName string
lastName string
Результат System.Json.JsonValue

ClearCache() публичный статический Метод

public static ClearCache ( Cache cache ) : void
cache System.Web.Caching.Cache
Результат void

EmailExists() публичный статический Метод

public static EmailExists ( Cache cache, string email ) : bool
cache System.Web.Caching.Cache
email string
Результат bool

GetAllUsers() публичный статический Метод

public static GetAllUsers ( Cache cache ) : JsonValue
cache System.Web.Caching.Cache
Результат System.Json.JsonValue

GetUser() публичный статический Метод

public static GetUser ( Cache cache, string email ) : JsonValue
cache System.Web.Caching.Cache
email string
Результат System.Json.JsonValue