Exemplo n.º 1
0
 //================================================================================
 public void DeleteOffhireDetail(OffhireDetail offhireDetail)
 {
     offhireDetailRepository.Delete(offhireDetail);
 }
Exemplo n.º 2
0
        //================================================================================
        public OffhireDetail AddDetail(OffhireDetail offhireDetail)
        {
            this.validateNotToBeSubmitted();

            this.validateNotToBeCancelled();

            this.OffhireDetails.Add(offhireDetail);

            return offhireDetail;
        }