Exemplo n.º 1
0
        public ModelResponse ChangeApplicantStatus(long id, int status)
        {
            try
            {
                if (status < 0 || status > 5)
                {
                    status = 1;
                }

                Repo.ChangeApplicantStatus(id, status);
            }
            catch (Exception ex)
            {
                return(new ModelResponse(ex));
            }

            return(new ModelResponse(0));
        }