public async Task GetTasksName(string login, string password)
        {
            TasksService tasksService = new TasksService();

            TasksName = await tasksService.GetTaskName(login, password);
        }
        public async Task GetTaskID(string login, string password, int id)
        {
            TasksService tasksService = new TasksService();

            task = await tasksService.GetTasksID(login, password, id);
        }
        public async Task AddTasks(Tasks task)
        {
            TasksService tasksService = new TasksService();

            GetTasksIdForTaskAnswers = await tasksService.AddTask(task);
        }
        public async Task GetTasks(string login, string password)
        {
            TasksService tasksService = new TasksService();

            tasks = await tasksService.GetTasks(login, password);
        }