AppActs.Client.Repository.ReportRepository.GetReportNormal C# (CSharp) Method

GetReportNormal() public method

public GetReportNormal ( System.Guid id ) : ReportDefinitionReportNormal
id System.Guid
return AppActs.Client.Model.ReportDefinitionReportNormal
        public ReportDefinitionReportNormal GetReportNormal(Guid id)
        {
            return this.cacheReportNormal.Fetch
                (
                    String.Format("ReortRepository.GetReportNormal.{0}", id),
                    () =>
                    {
                        return this.GetAll()
                            .Where(x => x.ReportNormal != null && x.ReportNormal.Guid == id)
                            .Select(x => { x.ReportNormal.Parent = x; return x.ReportNormal; }).First();
                    }, null, null
                );
        }