Exemplo n.º 1
0
        public bool DeleteEvent(RequestBase req, int id)
        {
            bool response = false;

            try
            {
                SqlSvrDAL dal = new SqlSvrDAL(req.ClientInfo);
                response = dal.DeleteEvent(id);
            }
            catch (Exception ex)
            {
                //LogHelper.AddLog("EventsController", ex.Message, ex.StackTrace, "HCL.Academy.Service", req.ClientInfo.emailId);
                TelemetryClient telemetry = new TelemetryClient();
                telemetry.TrackException(ex);
            }
            return(response);
        }