Exemple #1
0
        public GetATBforStaffMemberResponse GetATBforStaffMember(GetATBforStaffMemberRequest request)
        {
            var atb = _atbRepo.GetATB(request.EmpNo);

            GetATBforStaffMemberResponse response = new GetATBforStaffMemberResponse()
            {
                CreditLimit        = atb.CreditLimit,
                EmpNo              = atb.EmpNo,
                Name               = atb.Name,
                OutstandingBalance = atb.OutstandingBalance,
                Status             = atb.Status
            };

            return(response);
        }
        public GetATBforStaffMemberResponse GetATB([FromBody] GetATBforStaffMemberRequest request)
        {
            var result = _agentService.GetATBforStaffMember(request);

            return(result);
        }