Esempio n. 1
0
        public IHttpActionResult Put(WebUser user)
        {
            try
            {
                BizUser bizUser  = user.WebUserToBizUser();
                string  response = userFunctions.BizUpdateUserPassWord(bizUser);

                if (!response.Equals("EXITO"))
                {
                    return(BadRequest(response));
                }
                else
                {
                    return(Ok(response));
                }
            }

            catch (Exception ex)
            {
                return(BadRequest(ex.ToString()));
            }
        }