Files
Joseph Doherty 26ff8d9b4f Initial commit: JDE Scoping Tool migration project
Set up repository with legacy .NET Framework 4.8 source (OLD/),
new .NET 10 Blazor solution (NEW/), OpenSpec specifications,
documentation, and project configuration.
2026-01-02 07:43:29 -05:00

33 lines
791 B
C#
Executable File

using System.Collections.Generic;
namespace WebInterface.Models
{
/// <summary>
/// Model for file upload result
/// </summary>
public class FileUploadResult<T>
{
/// <summary>
/// Whether or not upload was successful
/// </summary>
public bool WasSuccessful { get; set; }
/// <summary>
/// Error message generated
/// </summary>
public string ErrorMessage { get; set; }
/// <summary>
/// Data extracted from uploaded file
/// </summary>
public List<T> Data { get; set; }
/// <summary>
/// Constructor
/// </summary>
public FileUploadResult()
{
Data = new List<T>();
}
}
}