Exemple #1
0
        MvcFrameworkSettings IMvcApplication.Configure()
        {
            var db = new TurshiaDbContext();

            db.Database.Migrate();
            return(new MvcFrameworkSettings());
        }
Exemple #2
0
 public TaskService()
 {
     this.context = new TurshiaDbContext();
 }
 public ReportService()
 {
     this.context = new TurshiaDbContext();
 }
Exemple #4
0
        public UserService(IHashService hashService)
        {
            this.context = new TurshiaDbContext();

            this.hashService = hashService;
        }