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:
2024-12-04 11:58:13 -07:00
parent 538b1f817e
commit b1c6903c1c
150 changed files with 29146 additions and 33456 deletions

View File

@ -1,73 +1,42 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Fab2ApprovalSystem.Models
{
//public class DocumentType
//{
//}
public class WorkFlow
{
}
public class Role
{
public int RoleID { get; set; }
public string RoleName { get; set; }
public List<SubRole> SubRoles { get; set; }
public Role()
{
SubRoles = new List<SubRole>();
}
}
public class WorkFlowSteps
{
}
public class SubRole
{
public int SubRoleID { get; set; }
public string SubRoleCategoryItem { get; set; }
public int RoleID { get; set; }
public bool Inactive { get; set; }
}
public class UserSubRole
{
}
public class ParentChildModel
{
public int id { get; set; }
public int parentid { get; set; }
public string text { get; set; }
public string value { get; set; }
public List<ParentChildModel> Children = new List<ParentChildModel>();
}
//public class TrainingGroup
//{
// public int TrainingGroupID { get; set; }
// public string TrainingGroupName { get; set; }
//}
namespace Fab2ApprovalSystem.Models;
public class WorkFlow {
}
public class Role {
public int RoleID { get; set; }
public string RoleName { get; set; }
public List<SubRole> SubRoles { get; set; }
public Role() => SubRoles = new List<SubRole>();
}
public class WorkFlowSteps {
}
public class SubRole {
public int SubRoleID { get; set; }
public string SubRoleCategoryItem { get; set; }
public int RoleID { get; set; }
public bool Inactive { get; set; }
}
public class UserSubRole {
}
public class ParentChildModel {
public int id { get; set; }
public int parentid { get; set; }
public string text { get; set; }
public string value { get; set; }
public List<ParentChildModel> Children = new();
}