Example #1
0
        public bool DeleteNews(NewsRequest request)
        {
            bool result = false;

            try
            {
                SqlSvrDAL dal = new SqlSvrDAL(request.ClientInfo);
                result = dal.DeleteNews(request.ID);
            }
            catch (Exception ex)
            {
                //LogHelper.AddLog("NewsController,DeleteNews", ex.Message, ex.StackTrace, "HCL.Academy.Service", request.ClientInfo.emailId);
                TelemetryClient telemetry = new TelemetryClient();
                telemetry.TrackException(ex);
            }
            return(result);
        }