Ejemplo n.º 1
0
        public async Task <ServiceExecutionResult> AddModuleAsync(AbpAddModuleInput input)
        {
            var args = CreateCommandLineArgs(input, "abp add-module", input.ModuleName);

            using (_currentDirectoryHelper.Change(input.Directory))
            {
                await _addModuleCommand.ExecuteAsync(args);
            }

            return(new ServiceExecutionResult(true));
        }
Ejemplo n.º 2
0
 public Task <ServiceExecutionResult> AddModuleAsync(AbpAddModuleInput input)
 {
     return(_service.AddModuleAsync(input));
 }