Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Return userfriendlyexception with sweet alert from controler #3374


User avatar
0
hodor created

Hello,

I want to return sweet alerts from controller to warn a user about customized errors according to my needs. I can accomplish this from service level but could not figure out controller level. I have referenced abp.UI in the controllers. I have changed the layout's html and css, but still including sweet alert's js and css files and it's working in the service level as a proof.

Thanks in advance.


No answer yet!