Not Proper error codes

Most of the error code I get from api is 404 which is wrong it should be 400 as per industry standard.

Due to 404 I always get Not Found error in dotnet framework. Please change this to 400 so I can get custom error