Can i use custom controller for business logic? I tried UpdatePersonalData method from example crm outside ServerMethodsController but i don't see this method in 'Invoke custom method'. So where should I write business logic code? In ServerMethodsController?
@psiersadmin
AFAIK you can only call methods on custom controller classes that follow controller naming convention and are in the correct folder. eg. UploadController.cs.
You can create/call utility classes to perform business logic from your custom controller methods then return results to the client via the controller methods.
2 Likes