private static void Main(string[] args) { var context = new TorshiaCotnext(); context.Database.Migrate(); WebHost.Start(new StartUp()); }
public UserService(TorshiaCotnext cotnext, IHashService hashService) { this.cotnext = cotnext; this.hashService = hashService; }
public TaskService(TorshiaCotnext cotnext) { this.cotnext = cotnext; }
public HomeController(IUserService userService, TorshiaCotnext cotnext) { this.userService = userService; this.cotnext = cotnext; }
public ReportService(TorshiaCotnext context, ITaskService taskService) { this.context = context; this.taskService = taskService; }