public static async Task <Beleg.StatusEnum[]> GetStatusList() { Beleg.StatusEnum[] result = await WebRequester.HttpGet <Beleg.StatusEnum[]>( serviceBaseUrl, "/status"); return(result); }
public static async Task <string[]> GetTypeList() { string[] result = await WebRequester.HttpGet <string[]>( serviceBaseUrl, "/types"); return(result); }
public static async Task <Beleg> GetBeleg(string user, int belegnummer) { // Parameter prüfen if (string.IsNullOrWhiteSpace(user)) { throw new ArgumentNullException(nameof(user)); } Beleg result = await WebRequester.HttpGet <Beleg>( serviceBaseUrl, string.Format("/{0}/{1}", user, belegnummer)); return(result); }