public HttpResponseMessage RemoveAllFiles()
        {
            GenericResponseModel model = new GenericResponseModel();
            Dictionary <string, DTOFileUploadResult> dict = new Dictionary <string, DTOFileUploadResult>();

            if (SessionManager <Dictionary <string, DTOFileUploadResult> > .exist(SessionKeys.DTO_FILE))
            {
                SessionManager <Dictionary <string, DTOFileUploadResult> > .del(SessionKeys.DTO_FILE);
            }
            model.success = "true";
            return(this.Request.CreateResponse <GenericResponseModel>(HttpStatusCode.OK, model));
        }
        public HttpResponseMessage RemoveFile(string filename)
        {
            GenericResponseModel model = new GenericResponseModel();
            Dictionary <string, DTOFileUploadResult> dict = new Dictionary <string, DTOFileUploadResult>();

            if (SessionManager <Dictionary <string, DTOFileUploadResult> > .exist(SessionKeys.DTO_FILE))
            {
                dict = SessionManager <Dictionary <string, DTOFileUploadResult> > .get(SessionKeys.DTO_FILE);
            }
            dict.Remove(filename);
            SessionManager <Dictionary <string, DTOFileUploadResult> > .set(SessionKeys.DTO_FILE, dict);

            model.success = "true";
            return(this.Request.CreateResponse <GenericResponseModel>(HttpStatusCode.OK, model));
        }