Suppose you have a PostController for your web part, Where you are returning your views etc, And you need an Api also, What will be the best place to put the logic for Api.
Is the PostController will have the Api methods, Or another ApiPostController will be good place ?