public TasksService(NhSessionDb nhSessionDb) { _nhSessionDb = nhSessionDb; }
public TodosController() { var nhSessionDb = new NhSessionDb(App.ConnectionString); tasksService = new TasksService(nhSessionDb); }