public void Add(ManufacturerManagementAddCommand command)
 {
     Name           = command.Name ?? string.Empty;
     Description    = command.Description ?? string.Empty;
     Logo           = command.Logo ?? string.Empty;
     CreatedDateUtc = command.CreatedDateUtc;
     UpdatedDateUtc = command.CreatedDateUtc;
 }
Example #2
0
        public async Task <CommandResult> SendCommand(ManufacturerManagementAddCommand command)
        {
            CommandResult commandResult = await _commandService.SendAndReceiveResult <CommandResult>(command);

            return(commandResult);
        }