public UserProfile GetById(string id)
        {
            UserProfile user = null;

            try
            {
                user = _dac.SelectById <UserProfile>(id);;
            }
            catch (Exception err)
            {
                throw new Exception(Errors.ERR_PROFILEM_BADREQUEST, err);
            }

            return(user);
        }