Proper code style for repositories and controllers
Last code style fixes