Created
June 18, 2015 08:02
-
-
Save pjazdzewski1990/98583ff7f43f8bada5f1 to your computer and use it in GitHub Desktop.
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
.... | |
trait ItemRepository { | |
def createItem(name: String, code: Long, officeId: OfficeId): Try[ItemId] | |
def readItem(id: ItemId): Try[Item] | |
def updateItem(itemId: ItemId, officeId: OfficeId): Try[Item] | |
def deleteItem(id: ItemId): Try[ItemId] | |
} | |
.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment