Jonathan Ouellette 580e90f6a2 initial add
2022-09-27 14:10:30 -07:00

27 lines
622 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Fab2ApprovalSystem.Misc
{
//public class UserProfileDTO
//{
// public int SysUserId { get; set; }
// public string UserName { get; set; }
// public string FullName { get; set; }
//}
public static class CollectionExtensions
{
public static IEnumerable<T> SetValue<T>(this IEnumerable<T> items, Action<T> updateMethod)
{
foreach (T item in items)
{
updateMethod(item);
}
return items;
}
}
}