public Branch GetBranch(int code) { if (code < 0) { throw new Exception("the code must be positiv"); } return(dal.GetBranch(code)); }