示例#1
0
 public async Task AddPhoto(int id, Photo photo)
 {
     try
     {
         await repository.AddPhoto(id, photo);
     }
     catch (Exception e)
     {
         logger.LogError(e.Message);
     }
 }