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