Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check CreatedAtAction methods #61

Open
spixy opened this issue Jan 18, 2019 · 0 comments
Open

Check CreatedAtAction methods #61

spixy opened this issue Jan 18, 2019 · 0 comments

Comments

@spixy
Copy link

spixy commented Jan 18, 2019

You could check

CreatedAtAction(string actionName, object value):

  • if current controller has action actionName with no parameters (what about default parameters?)

CreatedAtAction(string actionName, object routeValues, object value):

  • if current controller has action actionName which parameters are same as in routeValues

CreatedAtAction(string actionName, string controllerName, object routeValues, object value):

  • if controllerName exists and has action actionName which parameters are same as in routeValues
  • warn that controllerName must not have suffix "Controller"
@spixy spixy changed the title Ckeck CreatedAtAction methods Check CreatedAtAction methods Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant