private GetSmashAttributeType ( int id, [ fields = "" ) : IHttpActionResult | ||
id | int | |
fields | [ | |
return | IHttpActionResult |
public IHttpActionResult GetSmashAttributeType(int id, [FromUri] string fields = "")
{
var content = _smashAttributeTypesService.Get<SmashAttributeType, SmashAttributeTypeDto>(id, fields);
return content == null ? NotFound() : Ok(content);
}