public async Task SaveTareaAsync(TareaPostDTO tarea)
        {
            var connectionString = $"{Address}/Tasks";

            var tareaJson = JsonConvert.SerializeObject(tarea);

            var data = new StringContent(tareaJson, Encoding.UTF8, "application/json");

            await Client.PostAsync(connectionString, data);
        }
        private TareaPostDTO TareaToPostDTO(Tarea tarea)
        {
            TareaPostDTO tareaPostDTO = new TareaPostDTO
            {
                ClientName  = tarea.ClientName,
                CommentPost = tarea.CommentPro,
                CommentPre  = tarea.CommentPre,
                Completed   = tarea.Completed,
                Created     = tarea.Created,
                Finished    = tarea.Finished,
                Image       = tarea.Image,
                LandID      = tarea.LandID,
                Name        = tarea.Name,
                Time        = tarea.Time,
                UserID      = tarea.UserID
            };

            return(tareaPostDTO);
        }