Ejemplo n.º 1
0
        public bool AddProjectDetails(RequestBase req, string name, int parentprojectid, int projectlevel)
        {
            bool isAdded = false;

            try
            {
                SqlSvrDAL dal = new SqlSvrDAL(req.ClientInfo);
                dal.AddProjectDetails(name, parentprojectid, projectlevel);
                isAdded = true;
            }
            catch (Exception ex)
            {
                //LogHelper.AddLog("ProjectController,AddProjectDetails", ex.Message, ex.StackTrace, "HCL.Academy.Service", req.ClientInfo.emailId);
                TelemetryClient telemetry = new TelemetryClient();
                telemetry.TrackException(ex);
            }
            return(isAdded);
        }