wip
This commit is contained in:
parent
1ecaf64dea
commit
cb9d5e332e
11 changed files with 72 additions and 69 deletions
|
@ -1,6 +1,7 @@
|
|||
using Femto.Common.Domain;
|
||||
using Femto.Modules.Media.Contracts.LoadFile.Dto;
|
||||
using MediatR;
|
||||
|
||||
namespace Femto.Modules.Media.Contracts.LoadFile;
|
||||
|
||||
public record LoadFileQuery(Guid FileId) : IRequest<LoadFileQueryResult>;
|
||||
public record LoadFileQuery(Guid FileId) : IQuery<LoadFileQueryResult>;
|
|
@ -1,5 +1,6 @@
|
|||
using Femto.Common.Domain;
|
||||
using MediatR;
|
||||
|
||||
namespace Femto.Modules.Media.Contracts.SaveFile;
|
||||
|
||||
public record SaveFileCommand(Stream Data, string ContentType, long? ContentLength) : IRequest<Guid>;
|
||||
public record SaveFileCommand(Stream Data, string ContentType, long? ContentLength) : ICommand<Guid>;
|
Loading…
Add table
Add a link
Reference in a new issue