public int InsertAuthorContractAddendumDetails(AuthorContractAddendumDetails AuthorContractAddendumDetails)
 {
     AuthorContractAddendumDetails.AddendumCode = GetAddendumCode(Convert.ToInt32(AuthorContractAddendumDetails.AuthorContractId), AuthorContractAddendumDetails.SeriesCode);
     _AuthorContractAddendumDetails.Insert(AuthorContractAddendumDetails);
     return(AuthorContractAddendumDetails.Id);
 }
        //Added by Saddam for Addendum file Display


        //Added by Ankush for Addendum Details insert
        public int UpdateAuthorContractAddendumDetails(AuthorContractAddendumDetails AuthorContractAddendumDetails)
        {
            _AuthorContractAddendumDetails.Update(AuthorContractAddendumDetails);
            return(AuthorContractAddendumDetails.Id);
        }