Api/Netina.Domain/Entities/StorageFiles/StorageFile.Aggregate.cs

11 lines
365 B
C#

using Netina.Domain.Enums;
namespace Netina.Domain.Entities.StorageFiles;
public partial class StorageFile
{
public static StorageFile Create(string name, string fileLocation, string fileName, bool isHeader, bool isPrimary, StorageFileType fileType)
{
return new StorageFile(name, fileLocation, fileName, isHeader, isPrimary, fileType);
}
}