Пример #1
0
        private static void Main(string[] args)
        {
            var context = new TorshiaCotnext();

            context.Database.Migrate();

            WebHost.Start(new StartUp());
        }
Пример #2
0
 public UserService(TorshiaCotnext cotnext, IHashService hashService)
 {
     this.cotnext     = cotnext;
     this.hashService = hashService;
 }
Пример #3
0
 public TaskService(TorshiaCotnext cotnext)
 {
     this.cotnext = cotnext;
 }
Пример #4
0
 public HomeController(IUserService userService, TorshiaCotnext cotnext)
 {
     this.userService = userService;
     this.cotnext     = cotnext;
 }
Пример #5
0
 public ReportService(TorshiaCotnext context, ITaskService taskService)
 {
     this.context     = context;
     this.taskService = taskService;
 }