public IDataResult <List <OperationClaim> > GetClaims(Member member) { var result = _memberDal.GetClaims(member); if (result == null) { return(new ErrorDataResult <List <OperationClaim> >(Messages.NotFound)); } return(new SuccessDataResult <List <OperationClaim> >(result, Messages.MemberFound)); }
public List <OperationClaim> GetClaims(Member member) { return(_memberDal.GetClaims(member)); }