Example #1
0
 public override IDocEntity SaveChanges(bool ignoreCache, DocConstantPermission permission)
 {
     ClientDepartment = ClientDepartment?.TrimAndPruneSpaces();
     Email            = Email?.TrimAndPruneSpaces();
     FirstName        = FirstName?.TrimAndPruneSpaces();
     Gravatar         = Gravatar?.TrimAndPruneSpaces();
     JobTitle         = JobTitle?.TrimAndPruneSpaces();
     LastName         = LastName?.TrimAndPruneSpaces();
     LegacyUsername   = LegacyUsername?.TrimAndPruneSpaces();
     Name             = Name?.TrimAndPruneSpaces();
     Slack            = Slack?.TrimAndPruneSpaces();
     return(base.SaveChanges(ignoreCache, permission));
 }