public async Task<byte[]> Get(IReportIdentity reportIdentity) { Debug.WriteLine("Getting the report... "); var result = await _decoratedReport.Get(reportIdentity); Debug.WriteLine("Report Got."); return result; }
public async Task<byte[]> Get(IReportIdentity reportIdentity) { return await _repository.Get(reportIdentity); }
public async Task Create(IReportIdentity reportIdentity) { await _repository.Save(reportIdentity, Encoding.UTF8.GetBytes(reportIdentity.ToString())); }
public async Task Create(IReportIdentity reportIdentity) { Debug.WriteLine("Creating the report... "); await _decoratedReport.Create(reportIdentity); Debug.WriteLine("Report created."); }