コード例 #1
0
        public bool AddProjectAdmin(RequestBase req, int userid, int projectid)
        {
            bool isAdded = false;

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