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