public async Task <IActionResult> Get() { var result = await _tasksRepository.GetAllTasksAsync(); return(Ok(result)); }