public void DeleteImages(string authenticationCookie, string patientID, string studyInstanceUID, string seriesInstanceUID, string sopInstanceUID, ExtraOptions extraOptions) { string userName; userName = ServiceUtils.Authorize(authenticationCookie, PermissionsTable.Instance.CanDeleteImages); _addin.DeleteImages(userName, patientID, studyInstanceUID, seriesInstanceUID, sopInstanceUID); }
public Task DeleteImages(string authenticationCookie, string patientID, string studyInstanceUID, string seriesInstanceUID, string sopInstanceUID) { var userName = AuthHandler.Authorize(authenticationCookie, PermissionsTable.Instance.CanDeleteImages); return(Task.Factory.StartNew(() => _addin.DeleteImages(userName, patientID, studyInstanceUID, seriesInstanceUID, sopInstanceUID))); }