|
|
|
@ -1,6 +1,5 @@
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
using YavscLib;
|
|
|
|
using YavscLib;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Yavsc.Models.Musical.Profiles
|
|
|
|
namespace Yavsc.Models.Musical.Profiles
|
|
|
|
@ -13,10 +12,5 @@ namespace Yavsc.Models.Musical.Profiles
|
|
|
|
{
|
|
|
|
{
|
|
|
|
get; set;
|
|
|
|
get; set;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public bool ExistsInDb(object dbContext)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
return ((ApplicationDbContext)dbContext).GeneralSettings.Any(p=>p.UserId==UserId);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|