public IHttpActionResult Submit()
        {
            try
            {
                var request = Context.GetCurrentRequest();
                var siteId  = request.GetQueryInt("siteId");
                if (!request.IsAdminLoggin || !request.AdminPermissions.HasSitePermissions(siteId, ApplicationUtils.PluginId))
                {
                    return(Unauthorized());
                }

                var contentIdList = TranslateUtils.StringCollectionToIntList(request.GetPostString("contentIds"));
                var departmentId  = request.GetPostInt("departmentId");

                foreach (var contentId in contentIdList)
                {
                    DataDao.UpdateDepartmentId(siteId, contentId, departmentId);

                    LogManager.Translate(siteId, contentId, request.AdminId, departmentId);
                }

                return(Ok(new
                {
                    Value = contentIdList
                }));
            }
            catch (Exception ex)
            {
                return(InternalServerError(ex));
            }
        }