public Material Get(int id) { try { Material material = MaterialInput.Read(id); return(material); } catch (HttpResponseException ex) { return(null);; } }
public IEnumerable <Material> Get() { return(MaterialInput.Read()); }