public Auth() { this.context = new wmDBContext(); this.userRepo = new UserRepository(context); InitializeComponent(); }
public TaskCreation(User user) { this.context = new wmDBContext(); this.taskRepo = new TaskRepository(context); this.currentUser = user; InitializeComponent(); }
public TaskRepository(wmDBContext context) { this._context = context; }
public UserRepository(wmDBContext context) { this._context = context; }