public AccountDto MapToDto(Account entity)
 {
     return(new AccountDto()
     {
         Id = entity.Id,
         FirstName = entity.FirstName,
         LastName = entity.LastName,
         IdentityNumber = entity.IdentityNumber,
         AccountNumber = entity.AccountNumber,
         CreateDate = entity.CreateDate,
         Balance = entity.Balance,
         AccountTypeKey = entity.AccountType.TypeKey,
         AccountType = accountTypeDtoBuilder.MapToDto(entity.AccountType)
     });
 }
 public IControllerActionItemResponseFactory <TDto, TEntity> MapDto(TEntity entity)
 {
     response.Result = dtoBuilder.MapToDto(entity);
     return(this);
 }