public async Task <AccountDto> GetBy(Expression <Func <AccountDto, bool> > condition) { try { var result = await _iaccountdata.GetBy(condition); return(result); } catch (Exception) { return(null); } }