23-12-2022
This commit is contained in:
@@ -56,7 +56,19 @@ namespace ECM.JobRunner.Web.Data
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public async Task RunProfile(ImportProfile profile)
|
||||
{
|
||||
try
|
||||
{
|
||||
await channel.RunJobAsync(new RunJobRunJobRequest() { JobId = profile.JobId });
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
logger.Error(ex);
|
||||
}
|
||||
}
|
||||
|
||||
public async Task<bool> CreateProfile(ImportProfile profile) =>
|
||||
await DoUpdateProfile(profile, UpdateProfileUpdateProfileRequest.UpdateProfileAction.Create);
|
||||
|
||||
Reference in New Issue
Block a user