public async Task RemoveToDoItemsList(
     [FromBody] ToDoItemsListDTO toDoItemsList)
 {
     var command = _mapper.Map <RemoveToDoItemListCommand>(toDoItemsList);
     //command.UserId = Guid.Parse(User.FindFirst("UserId").Value);
     await _mediator.Send(command);
 }
        public async Task <List <ToDoItemsList> > GetToDoItemsList(
            [FromBody] ToDoItemsListDTO toDoItemsList)
        {
            var command = _mapper.Map <GetToDoItemListQuery>(toDoItemsList);
            //command.UserId = Guid.Parse(User.FindFirst("UserId").Value);
            List <ToDoItemsList> toDoItemsLists = await _mediator.Send(command);

            return(toDoItemsLists);
        }