public async Task<IHttpActionResult> DeletePreLocation([FromBody] ReportLocation location) { return await HttpActionResultWithErrorHandling(SecurityActions.SuperTenantAdmin, async () => { var preLocations = await _adminRepo.DeleteLocation(location); return Json(preLocations); }); }
/// <summary> /// Gets the command line arguments for the reporting process. /// </summary> public virtual string GetArguments() { // Because we may have a archive location like "C:\Program Files\MyPath" with quotes, // the arguments below have an extra leading and trailing space around quoted values // for proper parsing. return(string.Format( "--reportType=\" {0} \" " + "--archiveLocation=\" {1} \" " + "--reportLocation=\" {2} \" " + "--title=\" {3} \" " + "--company=\" {4} \"", ReportType.Replace("\"", "\\\""), FilePath.GetDirectoryName(ArchiveFilePath).Replace("\"", "\\\""), ReportLocation.Replace("\"", "\\\""), Title.Replace("\"", "\\\""), Company.Replace("\"", "\\\""))); }
public NUnitXmlReporter(IIOWriter filewriter, ReportLocation location) { _filewriter = filewriter; _location = location; }
public HtmlReporter(IIOWriter iowriter, ReportLocation location) { _iowriter = iowriter; _location = location; }