コード例 #1
0
 public async Task <int> AddChurchSongAsync(int churchId, int songId, string userId)
 {
     return(await _libraryRepository.AddChurchSongAsync(new ChurchSong {
         ChurchId = churchId,
         SongId = songId,
         CreatedById = userId,
         LastModifiedById = userId,
         DateCreated = DateTime.Now,
         DateLastModified = DateTime.Now
     }));
 }