Last active
August 29, 2015 14:27
-
-
Save beyond-code-github/c3f88f173994e0623dcd to your computer and use it in GitHub Desktop.
After refactoring, intent has simply been moved into the controller/model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TeachersController : ListController | |
{ | |
protected override ListConfig Configuration | |
{ | |
get | |
{ | |
return new ListConfig() | |
{ | |
ListTitle = "List of Teachers", | |
PostUrl = "api/teachers", | |
GetUrl = "api/teachers" | |
} | |
} | |
} | |
public TeachersController(ITeachersService teachersService) : this(teachersService) | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment