public async Task <IHttpActionResult> GetAll() { var tasks = await taskService.GetAllAsync(); return(Ok(tasks)); }