Пример #1
0
 /// <summary>
 /// 保存一条新的路径
 /// </summary>
 /// <param name="music"></param>
 /// <returns></returns>
 public bool Add(Model.MusicInfo music)
 {
     return(dal.Insert(music));
 }
Пример #2
0
 /// <summary>
 /// 是否有专辑图片
 /// </summary>
 /// <param name="music"></param>
 /// <returns></returns>
 public bool GetMusicBitmap(Model.MusicInfo music)
 {
     return(dal.GetMusicBitmap(music));
 }
Пример #3
0
 public bool Remove(Model.MusicInfo music)
 {
     return(dal.Remove(music));
 }
Пример #4
0
 /// <summary>
 /// 获取歌词
 /// </summary>s
 /// <param name="music"></param>
 /// <returns></returns>
 public bool GetLrc(Model.MusicInfo music)
 {
     //查找是否有歌词
     return(dal.GetLyric(music));
 }
Пример #5
0
 public bool Delete(Model.MusicInfo music)
 {
     return(dal.Delete(music));
 }