예제 #1
0
        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);
        }
예제 #2
0
        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)));
        }