public void DeleteDevice(ArdDevice item) { DeleteItem(item); }
public async void EditDevice(ArdDevice item) { await StoreItem(item); }
public async Task <HttpResponseMessage> Post(ArdDevice item) { var id = await Service.CreateDevice(item); return(Request.CreateResponse(HttpStatusCode.Accepted, id)); }
public async Task <long> CreateDevice(ArdDevice item) { var result = await StoreItem(item); return(result); }
public void Put(ArdDevice item) { Service.EditDevice(item); }