Skip to content

Commit

Permalink
Explanatory notes
Browse files Browse the repository at this point in the history
  • Loading branch information
janm committed Dec 14, 2012
1 parent 44eab3c commit 91e1911
Showing 1 changed file with 0 additions and 21 deletions.
Expand Up @@ -34,25 +34,4 @@ class CustomerService(implicit val actorSystem: ActorSystem) extends Directives
}
}
}
/*
path("customers" / JavaUUID) { id =>
get {
complete {
(customerActor ? Get(id)).mapTo[Option[Customer]]
}
}
} ~
path("customers") {
get {
complete {
(customerActor ? FindAll()).mapTo[List[Customer]]
}
} ~
post {
entity(as[RegisterCustomer]) { rc =>
complete((customerActor ? rc).mapTo[Either[NotRegisteredCustomer, RegisteredCustomer]])
}
}
}
*/
}

0 comments on commit 91e1911

Please sign in to comment.