/// <summary>
 /// Adds the paperset.
 /// </summary>
 /// <param name="paperSetDetails">The paper set details.</param>
 public void AddPaperset(PaperSet paperSetDetails)
 {
     Context.PaperSets.Add(paperSetDetails);
 }
 /// <summary>
 /// Adds the paperset.
 /// </summary>
 /// <param name="paperSetDetails">The paper set details.</param>
 public void AddPaperset(PaperSet paperSetDetails)
 {
     this.repository.AddPaperset(paperSetDetails);
 }
 /// <summary>
 /// Updates the paperset.
 /// </summary>
 /// <param name="paperSetDetails">The paper set details.</param>
 public void UpdatePaperset(PaperSet paperSetDetails)
 {
     var paperSet = Context.PaperSets.FirstOrDefault(@this => @this.PaperSetID == paperSetDetails.PaperSetID);
     if (paperSet != null)
     {
         paperSet.Description = paperSetDetails.Description;
     }
     else
     {
         Context.PaperSets.Add(paperSetDetails);
     }
 }
 /// <summary>
 /// Updates the paperset.
 /// </summary>
 /// <param name="paperSetDetails">The paper set details.</param>
 public void UpdatePaperset(PaperSet paperSetDetails)
 {
     this.repository.UpdatePaperset(paperSetDetails);
 }