// GET api/<controller> public List <MaterialType> Get() { MaterialType newMaterial = new MaterialType(); return(newMaterial.getMaterials()); }