Tasks 184281, 184799, 184800, 184801 and 184802
Align .editorconfig files Move Controller logic to DMO classes GlobalVars.AppSettings = Models.AppSettings.GetFromConfigurationManager(); Question EditorConfig Project level editorconfig Format White Spaces AppSetting when EnvironmentVariable not set Corrective Actions Tests Schedule Actions Tests DMO Tests Controller Tests Get ready to use VSCode IDE
This commit is contained in:
@ -1,27 +1,14 @@
|
||||
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; }
|
||||
//}
|
||||
namespace Fab2ApprovalSystem.Misc;
|
||||
|
||||
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;
|
||||
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