public bool ChangeUserActivation(RequestBase req, int userid) { try { SqlSvrDAL dal = new SqlSvrDAL(req.ClientInfo); dal.ChangeUserActivation(userid); return(true); } catch (Exception ex) { //LogHelper.AddLog("OnBoardingController,ChangeUserActivation", ex.Message, ex.StackTrace, "HCL.Academy.Service", req.ClientInfo.emailId); TelemetryClient telemetry = new TelemetryClient(); telemetry.TrackException(ex); return(false); } }