output modelstate errors in case a post body can't be converted

This commit is contained in:
2020-08-13 12:03:24 +02:00
parent afd777f99f
commit 175754894d
8 changed files with 39 additions and 15 deletions
@@ -17,6 +17,7 @@ namespace zero.Web.Controllers
{
[ZeroAuthorize]
[BackofficeGenericController]
[ServiceFilter(typeof(ModelStateValidationFilterAttribute))]
public abstract class BackofficeController : Controller, ISupportsGenericsController
{
IMapper _mapper;