public async Task <CommandResult <TEntity> > Handle(CreateEntityCommand <TEntity> request, CancellationToken cancellationToken) { return(await baseService.CreateAsync(request?.Entity)); }
public async Task <CommandResult <TEntity> > Handle(CreateEntityCommand <TEntity> request, CancellationToken cancellationToken) { return(await baseService.CreateAsync(request?.Entity)); }