コード例 #1
0
        public string DeleteEvent(string pRequest)
        {
            var        reqObj             = pRequest.DeserializeJSONTo <APIRequest <EventRP> >();
            var        loggingSessionInfo = new SessionManager().CurrentUserLoginInfo;
            LEventsBLL bll = new LEventsBLL(loggingSessionInfo);

            bll.DeleteByProc(reqObj.Parameters.EventId);
            var rd  = new EmptyRD();
            var rsp = new SuccessResponse <IAPIResponseData>(rd);

            return(rsp.ToJSON());
        }