コード例 #1
0
        MvcFrameworkSettings IMvcApplication.Configure()
        {
            var db = new TurshiaDbContext();

            db.Database.Migrate();
            return(new MvcFrameworkSettings());
        }
コード例 #2
0
ファイル: TaskService.cs プロジェクト: dilyanaGl/CSharp-Web
 public TaskService()
 {
     this.context = new TurshiaDbContext();
 }
コード例 #3
0
ファイル: ReportService.cs プロジェクト: dilyanaGl/CSharp-Web
 public ReportService()
 {
     this.context = new TurshiaDbContext();
 }
コード例 #4
0
ファイル: UserService.cs プロジェクト: dilyanaGl/CSharp-Web
        public UserService(IHashService hashService)
        {
            this.context = new TurshiaDbContext();

            this.hashService = hashService;
        }