You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.1 KiB
42 lines
1.1 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace UseRestService.Data
|
|
{
|
|
public static class PartsManager
|
|
{
|
|
// TODO: Add fields for BaseAddress, Url, and authorizationKey
|
|
static readonly string BaseAddress = "URL GOES HERE";
|
|
static readonly string Url = $"{BaseAddress}/api/";
|
|
|
|
static HttpClient client;
|
|
|
|
private static async Task<HttpClient> GetClient()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public static async Task<IEnumerable<Part>> GetAll()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public static async Task<Part> Add(string partName, string supplier, string partType)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public static async Task Update(Part part)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public static async Task Delete(string partID)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|
|
|