예제 #1
0
 private async Task <Series> LoadFile(Series series)
 {
     if (series.FileId != null)
     {
         series.File = await _fileAccessor.GetById(series.FileId);
     }
     return(series);
 }
예제 #2
0
 private async Task <Mission> LoadFile(Mission mission)
 {
     if (mission.FileId != null)
     {
         mission.File = await _fileAccessor.GetById(mission.FileId);
     }
     return(mission);
 }
예제 #3
0
 public async Task <File> GetById(string id)
 {
     return(await _fileAccessor.GetById(id));
 }