Refactor: Remove sample data and add invoice processing
Removed `SampleDataController`, `SampleData`, and `SampleOrder` classes, along with the `DevExtreme` DataGrid in `Index.cshtml`, to eliminate reliance on mock data and sample orders. Updated `Index.cshtml` to introduce a welcome message and informational section about ZUGFeRD/Factur-X invoice processing, highlighting features like PDF/A upload, XML extraction, and result PDF creation. Added navigation links for invoice-related actions. Updated `DXApp.TemplateKitProject.csproj` to include a new `<ItemGroup>` for the `Controllers` folder, preparing the project structure for future development.
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.Http;
|
||||
using DevExtreme.AspNet.Data;
|
||||
using DevExtreme.AspNet.Mvc;
|
||||
using DXApp.TemplateKitProject.Models;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace DXApp.TemplateKitProject.Controllers
|
||||
{
|
||||
[Route("api/[controller]")]
|
||||
public class SampleDataController : Controller
|
||||
{
|
||||
|
||||
[HttpGet]
|
||||
public object Get(DataSourceLoadOptions loadOptions)
|
||||
{
|
||||
return DataSourceLoader.Load(SampleData.Orders, loadOptions);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user