public async Task <dynamic> DeleteCategoryAsync(string userId, string categoryId) { string url = functionsApiProxy + "/categories/" + categoryId + "/?userId=" + userId; return(await CRUDService.HttpMethodAsync("DELETE", url, null)); }
/** CATEGORY CRUD Methods */ public async Task <dynamic> GetCategoriesAsync(string userId) { string url = functionsApiProxy + "/categories?userId=" + userId; return(await CRUDService.HttpMethodAsync("GET", url, null)); }
public async Task <dynamic> DeleteTextAsync(string userId, string textId) { string url = functionsApiProxy + "/text/" + textId + "/?userId=" + userId; return(await CRUDService.HttpMethodAsync("DELETE", url, null)); }
public async Task <dynamic> ListTextAsync(string userId) { string url = functionsApiProxy + "/text?userId=" + userId; return(await CRUDService.HttpMethodAsync("GET", url, null)); }
public async Task <dynamic> GetAudioAsync(string userId, string audioId) { string url = functionsApiProxy + "/audio/" + audioId + "/?userId=" + userId; return(await CRUDService.HttpMethodAsync("GET", url, null)); }
public async Task <dynamic> DeleteImageAsync(string userId, string imageId) { string url = functionsApiProxy + "/images/" + imageId + "/?userId=" + userId; return(await CRUDService.HttpMethodAsync("DELETE", url, null)); }