Created
July 30, 2014 07:54
-
-
Save nunofilipecosta/394b10956a3ec11b2991 to your computer and use it in GitHub Desktop.
After save , if it doesn't exists throw exception
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
var transportOrder = _appService.FindById<TransportOrder>(transportOrderId); | |
transportOrder.ReceiveLoadGuid = closedLoadId; | |
Save(transportOrder); | |
if (transportOrder == null) | |
{ | |
throw new ArgumentNullException("transportOrderId"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment