public function authAction(Request $request)
 {
     $data = $request->request->all();
     $authResult = $this->transactionService->authenticate($data['login'], $data['password']);
     return $this->json($authResult);
 }
 public function indexAction()
 {
     return $this->transactionService->getUsers();
 }