public bool ApplyResAdmin(Application apply) { var application = _memberRepo.GetApplyByAcc(apply.m_account); if (application == null) { return(_memberRepo.ApplyResAdmin(apply)); } else { return(false); } }