public IHttpActionResult DeleteSmashAttributeType(int id) { _smashAttributeTypesService.Delete<SmashAttributeType>(id); return StatusCode(HttpStatusCode.OK); } }