public static IMappingExpression <TSource, TDestination> AddFullAuditedBy <TSource, TDestination>(this IMappingExpression <TSource, TDestination> mapping) where TSource : IAudited <User>, IDeleteAudited <User> where TDestination : IAuditedDto, IDeleteAuditedDto { return(mapping .AddAuditedBy() .AddDeletedBy()); }