mirror of
https://github.com/PacktPublishing/Learn-WinUI-3-Second-Edition.git
synced 2026-06-20 12:23:09 +00:00
Add chapter 10 sample project
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
namespace TemplateStudioSampleApp.Core.Contracts.Services;
|
||||
|
||||
public interface IFileService
|
||||
{
|
||||
T Read<T>(string folderPath, string fileName);
|
||||
|
||||
void Save<T>(string folderPath, string fileName, T content);
|
||||
|
||||
void Delete(string folderPath, string fileName);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using TemplateStudioSampleApp.Core.Models;
|
||||
|
||||
namespace TemplateStudioSampleApp.Core.Contracts.Services;
|
||||
|
||||
// Remove this class once your pages/features are using your data.
|
||||
public interface ISampleDataService
|
||||
{
|
||||
Task<IEnumerable<SampleOrder>> GetGridDataAsync();
|
||||
|
||||
Task<IEnumerable<SampleOrder>> GetListDetailsDataAsync();
|
||||
}
|
||||
Reference in New Issue
Block a user