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