public async Task <int> SaveBorrower([FromBody] BorrowerDTO borrowerInfo)
        {
            int borrowerId = 0;

            try
            {
                borrowerId = await _borrowerService.Add(borrowerInfo);
            }
            catch (Exception ex)
            {
                using (_logger.BeginScope(new Dictionary <string, object> {
                    { "Borrower", "SaveBorrower" }
                }))
                {
                    _logger.LogError(ex.Message);
                }

                throw ex;
            }
            return(borrowerId);
        }
        public async Task <ActionResult <Result> > Create(Borrower borrower)
        {
            var result = await _borrowerService.Add(new Borrower
            {
                Id              = Guid.NewGuid().ToString(),
                Name            = borrower.FirstName + borrower.MiddleName + borrower.LastName,
                FirstName       = borrower.FirstName,
                MiddleName      = borrower.MiddleName,
                LastName        = borrower.LastName,
                Email           = borrower.Email,
                gender          = borrower.gender,
                MailingAddress  = borrower.MailingAddress,
                StreetAddress   = borrower.StreetAddress,
                Phone           = borrower.Phone,
                CreatedUsername = borrower.CreatedUsername,
                CreatedOn       = DateTime.Now,
                UpdatedUsername = null,
                UpdatedOn       = default(DateTime),
                Comments        = "Borrower Entity Creation"
            });

            return(Ok(result));
        }