public ReleaseProfile Update(ReleaseProfile restriction) { restriction.Preferred.Sort(_preferredComparer); return(_repo.Update(restriction)); }
public ReleaseProfile Add(ReleaseProfile restriction) { restriction.Preferred.Sort(_preferredComparer); return(_repo.Insert(restriction)); }