public bool RejectContribute(int projectid, int relid)
        {
            if (UserContext.IsAdmin)
            {
                LightSpeedRepository repository =
                    new LightSpeedRepository(ObjectFactory.GetInstance <ApplicationSettings>());

                if (!repository.IsContributeApproved(projectid, relid))
                {
                    repository.SetContributeRejectedInProject(projectid, relid);
                }

                return(true);
            }

            return(false);
        }