cleaning
This commit is contained in:
parent
fa83cc04ae
commit
ce7284a8fc
3 changed files with 0 additions and 8 deletions
|
|
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Linq;
|
|
||||||
using Yavsc.Models.Workflow;
|
using Yavsc.Models.Workflow;
|
||||||
using YavscLib;
|
using YavscLib;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
namespace Yavsc.Models.Workflow.Profiles
|
namespace Yavsc.Models.Workflow.Profiles
|
||||||
{
|
{
|
||||||
using System.Linq;
|
|
||||||
using Models.Workflow;
|
using Models.Workflow;
|
||||||
using YavscLib;
|
using YavscLib;
|
||||||
public class FormationSettings : ISpecializationSettings
|
public class FormationSettings : ISpecializationSettings
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue