public T_Address GetAddressByUserId() { UserBll bll = new UserBll(); int userid = 0; userid = bll.GetUserIdByToken(); if (userid > 0) { AddressDal addressdal = new AddressDal(); return(addressdal.GetAddressByUserId(userid)); } else { return(null); } }