C# Class BgEngine.Application.Services.StatsServices

Inheritance: BgEngine.Application.Services.IStatsServices
Mostra file Open project: yagopv/BgEngine

Public Methods

Method Description
RetrieveBlogStats ( ) : StatsDTO

Get Stats from all entities in Model

RetrieveSidebarStats ( bool ispremium ) : StatsDTO

Get Stats for Sidebar Widget

StatsServices ( IRepository postrepository, IRepository tagrepository, IRepository albumrepository, IRepository categoryrepository, IRepository imagerepository, IRepository userrepository, IRepository rolerepository, IRepository commentrepository ) : System.Linq

ctor

Method Details

RetrieveBlogStats() public method

Get Stats from all entities in Model
public RetrieveBlogStats ( ) : StatsDTO
return BgEngine.Application.DTO.StatsDTO

RetrieveSidebarStats() public method

Get Stats for Sidebar Widget
public RetrieveSidebarStats ( bool ispremium ) : StatsDTO
ispremium bool
return BgEngine.Application.DTO.StatsDTO

StatsServices() public method

ctor
public StatsServices ( IRepository postrepository, IRepository tagrepository, IRepository albumrepository, IRepository categoryrepository, IRepository imagerepository, IRepository userrepository, IRepository rolerepository, IRepository commentrepository ) : System.Linq
postrepository IRepository
tagrepository IRepository
albumrepository IRepository
categoryrepository IRepository
imagerepository IRepository
userrepository IRepository
rolerepository IRepository
commentrepository IRepository
return System.Linq