Ejemplo n.º 1
0
        public JsonResult AddReveiwers(List <long> userids, long submissionid, Roles role, long processidinmodel)
        {
            #region Logics
            UserLogic _UserLogic = new UserLogic();
            #endregion

            DynamicResponse <List <UserLO> > response = new DynamicResponse <List <UserLO> >();
            long userId = long.Parse(Session["userId"].ToString());

            try
            {
                response = _UserLogic.AddReviewer(userids, submissionid, userId, role, processidinmodel);
                return(Json(response, JsonRequestBehavior.AllowGet));
            }
            catch (Exception ex)
            {
                return(Json("error"));
            }
        }