cleaning
This commit is contained in:
@ -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 System.Linq;
|
||||
using Yavsc.Models.Workflow;
|
||||
using YavscLib;
|
||||
|
||||
|
@ -3,7 +3,6 @@ using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Yavsc.Models.Workflow.Profiles
|
||||
{
|
||||
using System.Linq;
|
||||
using Models.Workflow;
|
||||
using YavscLib;
|
||||
public class FormationSettings : ISpecializationSettings
|
||||
|
Reference in New Issue
Block a user