initial add
This commit is contained in:
27
Fab2ApprovalSystem/Misc/UserProfileDTO.cs
Normal file
27
Fab2ApprovalSystem/Misc/UserProfileDTO.cs
Normal file
@ -0,0 +1,27 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user