public void Add(Category_VariationTheme_Mapping_AddCommand command) { VariationThemeId = command.VariationThemeId; CategoryId = command.CategoryId; AddEvent(); }
public async Task <CommandResult> SendCommand(Category_VariationTheme_Mapping_AddCommand command) { CommandResult commandResult = await _commandService.SendAndReceiveResult <CommandResult>(command); return(commandResult); }