public async Task <PlannerTaskDetails> RecuperarDetalheTarefaPorId(string idTarefa)
        {
            var url  = $"{BaseUri.Replace("/plans", "/tasks")}/{idTarefa}/details";
            var plan = await GetResponse <PlannerTaskDetails>(url);

            return(plan);
        }
示例#2
0
        public static void Init()
        {
            BaseUri = Directory.GetCurrentDirectory();
            ExeUri  = System.Reflection.Assembly.GetEntryAssembly().Location;
            ExeUri  = Path.GetDirectoryName(ExeUri);

            BaseUri = BaseUri.Replace('\\', '/');
            ExeUri  = ExeUri.Replace('\\', '/');
        }