Since controller method only can return ActionResult and there is no way to programmaticaly determine action result then we need special attribute to describe controller method return. We will inherit this attribute from TsFunction attribute since we anyway have to specify exported methods in fluent configuration either via attributes.