public ReturnModel Get(int id) { var db = new BaseRespository <S_User>(); return(new ReturnModel { d = db.Get(id), s = true, m = "" }); }
public ReturnModel Get(int id) { var userdb = new BaseRespository <S_User>(); return(new ReturnModel { d = SimpleMapper.Map <S_User, VOutUser>(userdb.Get(id)) }); }